Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is it possible to use a variable value in .ControlName?
Message
De
26/11/2002 16:04:25
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
26/11/2002 10:38:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00726887
Message ID:
00727297
Vues:
15
>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)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform