Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Any Way to put include file into property sheet?
Message
From
20/11/2003 14:23:25
 
 
To
19/11/2003 13:00:52
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00851539
Message ID:
00852006
Views:
12
Hi Nancy,
I figured that out, but I was hoping someone had thought of a way to accomplish what I wanted. I finally figured something out.

Instead of putting "_DV" into the property sheet, in the form.load() I put "this.lDV = this.lDV and _DV". That way I can change lDV in the property sheet and it affects every method in the form.


>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.
Bill Morris
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform