Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Way to grab an object reference differently?
Message
From
20/09/2005 14:00:32
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Way to grab an object reference differently?
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01051386
Message ID:
01051386
Views:
46
Hi Everyone,

Is there a better way to grab an object reference to a newly added object to a form without using EVAL() to get it? e.g. here is the code:

THISFORM.AddObject(lcObjectName,"lblStepXLabel")

STORE EVALUATE("THISFORM." + lcObjectName) TO loNewObject


Albert
Next
Reply
Map
View

Click here to load this message in the networking platform