How to Use a Custom Method as a User-Defined Function (UDF)
Article ID: 136010
Article Last Modified on 2/15/2000
APPLIES TO
- Microsoft Visual FoxPro 3.0 Standard Edition
This article was previously published under Q136010
SUMMARY
This article gives details about how to create and use custom methods.
In FoxPro version 2.x, you can define procedures and functions in the
cleanup code of FoxPro version 2.x screens. Forms in Visual FoxPro don't
have an analogous place for defining procedures and functions, so you can:
- Put cleanup code in a procedure file contained in the Project Manager,
and issue a SET PROCEDURE TO statement.
-or-
- Create functions and procedures as custom methods of the form. These
custom methods can then be referenced the same as any other method of
the form or other object.
Additional query words: VFoxWin
Keywords: KB136010