Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using DEFINE and INCLUDE
Message
From
04/04/2006 12:46:10
 
 
To
04/04/2006 12:35:30
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01110311
Message ID:
01110321
Views:
16
>Thanks Sergey and Nick. Got it.
>
>
>>>
>>>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.

Thats a useful tip about the _include system variable from Sergey. I hadn't noticed that.

Nick
Previous
Reply
Map
View

Click here to load this message in the networking platform