Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can't use eval or name expression to reference object?
Message
De
07/08/2002 19:20:13
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00687238
Message ID:
00687298
Vues:
16
OK. I'll try that too.

>You're welcome.
>If you have to change only one propery than you can use micro substituion or STORE command.
STORE < SomeValue > TO ("thisform." + lclabelname + ".SomeProperty")
I prefer to use STORE command in such case.
>
>>Yep. That does the trick. Thanks as always!!
>>
>>
>>>Try
loObj = EVAL("thisform." + lclabelname)
>>>WITH loObj
>>>  .top = lnRow+lnTopMargin
>>>  .left = lnColumn
>>>  .Caption = "MyLabel"
>>>ENDWITH
>>>
>>>
>>>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform