>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()