Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Thank you for your help
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00135546
Message ID:
00135575
Views:
10
>How do I can get the list of all object on a form including Page in pageframe and column in Grid in my program? Is there a command to do that?

There is probably a much better way, but you could look at the txtbtns class in WIZSTYLE.VCX. It has a method .setallprop which loops through the controls on a form in order to set properties. It calls itself recursively when it sees a container. It actually doesn't handle grids or pageframes that way, but you could make some similar code which would use .pagecount or .columncount instead of .controlcount.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform