Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CLR and VFP
Message
From
29/08/2000 19:52:56
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00409695
Message ID:
00410557
Views:
25
>>Even in VFP, dynamic object resolution and dynamic property setting can be done without macros.
>
>
>OK, so how would you do an object/property reference where ALL of it comes from a data table. I know I can get the object reference using EVAL(), but how would I do the property (set to a value)?
>
>

>Table
>Object Property
>MyForm Left
>
>
>oForm = EVAL(Table.Object)
>cProp = Table.Property
>oForm.&cProp = 100
>

>
>?????

cMyProp = Table.object + '.' + Table.Property

STORE 100 TO (cMyProp)
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform