Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is it possible to use a variable value in .ControlName?
Message
From
26/11/2002 16:04:25
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
26/11/2002 10:38:23
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00726887
Message ID:
00727297
Views:
14
>Hilmar,
>
>Another way to do it with out macro substitution...using this method would even allow for methods of the object to be called.
>
>
>for nField = 1 to 48
>    oTextBox = eval("thisform.text"+ transform(i))
>    oTextBox.value = "Value :" + transform(i)
>next i
Great! I have to keep this handy.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform