Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't use eval or name expression to reference object?
Message
 
 
To
07/08/2002 18:58:23
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00687238
Message ID:
00687293
Views:
20
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
>>
>>
>>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform