Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using DEFINE and INCLUDE
Message
 
 
To
04/04/2006 12:26:46
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01110311
Message ID:
01110314
Views:
11
This message has been marked as the solution to the initial question of the thread.
>
>When using DEFINE statements inside an INCLUDE file must one use the #INCLUDE statement in every program that references the DEFINE's?

Yes

> What about forms? Must one use a #INCLUDE in every method/event of a form which may reference a DEFINE in the INCLUDE file or is there an easier global way to specify the INCLUDE file for the entire application?

You can specify #INCLUDE file for a form in the Form/Class Designer in the Form/Class -> Include menu. The file specifie in the _INCLUDE system variable will be used for any new form/class but there's no global runtime include file for an application.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform