Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid builder and multiple files
Message
 
To
06/08/1997 19:50:46
Glenn Shimabukuro
State of HI, Dept of Health, Dd Division
Pearl City, Hawaii, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00043186
Message ID:
00043842
Views:
35
>I came straight from Foxpro 2.6 for DOS to Visual Foxpro, so I get lost at times when I try to incorportate some things into Form. In the DOS version, I was able to include procedures and functions in the "clean-up" section for the form, however, in Visual Foxpro I'm not sure where to include the actual procedures (i.e., the procedure name, codes, etc). At this point, I open a procedure file in the Load Method/(Event?) so that the command buttons and other controls on the form can call those procedures and functions. Is there a "place" where I can include these "snippets"?
>
> Thanks,
>
> Glenn
Glenn,

You can add methods to your form. Hit the Form menu and choose New Method, give the method a name and then write your code in that method. From anywhere inside the form you can call that method with;

THISFORM.MyMethod()
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform