Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Referencing an object from a property
Message
 
 
À
08/06/2001 17:14:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00517216
Message ID:
00517250
Vues:
23
>>What I am saying is that if the object reference is stored to cControl and not the literal "txtwhatever" then Thisform.cControl.value returns the value of the control "txtwhatever".
>>
>>My post did not come out as I typed it. I take it putting class between delimiters here is a no no.
>
>I don't use quotes between my value in the cControl property and I get an unknown reference. The cControl property is a text property. It holds text. So, I can't see how that can be interpreted as is to be a control reference. Maybe I am missing something. :(

I think he means you can set its value to eval(SomeObject.SomeProperty). Now you have an object ref in the property. But then you would have an oControl property instead of a cControl property.
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform