Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
List of controls
Message
 
To
13/10/1997 13:26:28
Edward Crawford
City Facilities Management
Glasgow, United Kingdom
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00054332
Message ID:
00054359
Views:
32
>I know I have seen this question on UT before, but I can't seem to locate it. How do I programmatically build an array of all of the controls on a form?
>
>Ed
Ed,

Do you know that the form has a controls collection that is already a list of all the contorls in the form?

FOR lnCnt = 1 TO THISFORM.ControlCount
? THISFORM.Controls(lnCnt).Name
ENDFOR

this code will display the name of every control in the form.
Previous
Reply
Map
View

Click here to load this message in the networking platform