Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Object woes
Message
 
To
15/04/1998 05:07:16
Matthew Manicolo
Circa Telecommunications
Melbourne, Australia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00092064
Message ID:
00092070
Views:
24
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform