Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object woes
Message
 
À
15/04/1998 05:07:16
Matthew Manicolo
Circa Telecommunications
Melbourne, Australie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00092064
Message ID:
00092070
Vues:
25
>Hi All
> I have 3 textboxes placed in a form. Each box is named line1,line2 and line3. Now depending on the value of a variable I recieve I want to reference that particular textbox.
>
>x= 3
>
>thisform.line(x).value = "Whatever"
>
>Is this possible and if so how?
>
>thankyou
FOR lnTxtBox = 1 TO 3
    loTxtBox = EVALUATE("THISFORM.Line" + ALLTRIM(STR(lnTxtBox)))
    loTxtBox.Value = "Whatever"
ENDFOR
Steve
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform