Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Accessing Constants
Message
From
12/08/1999 13:19:06
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00252941
Message ID:
00253096
Views:
23
>It's worse for Visual classes; each method needs to have the #DEFINES it uses declared in it.
>
>An easy method to address this is to create a .H file containing your #DEFINES and #INCLUDE that file whereever it's needed. In VFP6, a new system variable, _INCLUDE, was added to VFP; if you put the name of a file in this variable, it will be automatically included and available to everything.
>

Just to add- forms and visual classes both have a place to specify form wide and class wide INCLUDE files. In the form editor, look under the Form menu item, in the class designer, look under the Class menu item for "Include file..."
Erik Moore
Clientelligence
Previous
Reply
Map
View

Click here to load this message in the networking platform