Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Referencing an object from a property
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00517216
Message ID:
00517261
Vues:
15
>>Simple,
oControl = EVALUATE(ThisForm.cControl)
>>? oControl.Value
>
>So lets say I have a property on my form call oUser. In the init of the form, I have :
>
>
THISFORM.oUser = EVALUATE( "oUser" )
>
>oUser is a reference to a class a I had to use elsewhere as well. Will I now be able to reference THISFORM.oUser as a class?
>John

Nevermind, I tried it, it worked. Just need to set the property to NULL when form is destroyed.
John
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform