Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Any Way to put include file into property sheet?
Message
From
21/11/2003 11:02:26
 
 
To
20/11/2003 15:27:09
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00851539
Message ID:
00852333
Views:
10
>>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.
>
>Er...Okay. I'm glad you solved the problem, but I guess I don't see what _DV is doing. What is DV?
In my default include file:
#DEFINE _DV   ( VERSION( 2 ) = 2 and _VFP.STARTMODE = 0 )
It tests to see if I'm in developement mode. But I want to turn it off when I'm testing a form to make sure I haven't accidentally left something in the form that I don't want the user to see.
Now I just change the property sheet "lDV = .F." and it turns off all the developement stuff in the form, and I just reset the property to .T. to turn them back on.
Bill Morris
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform