Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Any Way to put include file into property sheet?
Message
De
21/11/2003 11:02:26
 
 
À
20/11/2003 15:27:09
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00851539
Message ID:
00852333
Vues:
9
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform