Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Any Way to put include file into property sheet?
Message
From
19/11/2003 13:00:52
 
 
To
19/11/2003 12:44:14
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00851539
Message ID:
00851548
Views:
12
Bill-
>
>my Default Include file includes:
>#DEFINE _DV ( VERSION( 2 ) = 2 and _VFP.STARTMODE = 0 )
>
>I would like to put _DV into the property sheet of my form, but I can't get it to work.
>
>I have no problem putting _DV into the method code anywhere, just not into the property sheet.
>
>If I put "_DV" into a property I get an error when I test it.
>If I put "=_DV" into a property it always evaluates to .F.

#DEFINE statements are evaluated at compile time. Properties are evaluated at runtime. During instantiation to be precise.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform