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

Click here to load this message in the networking platform