Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Any Way to put include file into property sheet?
Message
De
20/11/2003 14:23:25
 
 
À
19/11/2003 13:00:52
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:
00852006
Vues:
11
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform