Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Variable declaration
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00219669
Message ID:
00220174
Vues:
29
If you want full global properties you can:
_screen.addProperty('cMyNewProperty' , '' )


Robert


>Fred,
>
>IMHO using generic "this*" references inside method code is the only way you should ever reference properties. eg. thisform.PropertyName or this.parent.PropertyName. Using named references is fundamentally flawed because you don't really know, and can't always guarantee, what the name of the memvar is that holds the object reference.
>
>>It is referenced by: formname.propertyname wherever you need to use it. Also it can be referenced by thisform.propertyname within any of the forms methods.
>>If what you want is a variable that can be used by the form anywhere within it, you want to define a form property. It is referenced by: formname.propertyname wherever you need to use it. Also it can be referenced by thisform.propertyname within any of the forms methods.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform