Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cycling through controls in a form
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00666032
Message ID:
00666070
Views:
18
>Hi, Enmanuel!
>
>Every container object (form, page, grid etc) has a collection, which you can iterate using
FOR EACH loObject IN This.Controls
>   ...do something wiht loObject
>ENDFOR
>
>Now you need a mechanism which can find out that loObject is a container object too and call the iterator function recursivly!
>
>BTW: Be aware of different names of these collections in different containers ("Controls" in a form, "Pages" in pageframe, "Buttons" in a option group)!
>May be you can also use the "Objects" collection, but I'm not familiar with this!

Hi again, All of your responses have been very helpful but the one that got me back on the track was Sebastian's. Thank you so much to all again.

Enmanuel
I'm a mixture of Albert Einstein and Arnold Schwarzenegger. The only trouble is that I got Einstein's body and Schwarzenegger's brain
Previous
Reply
Map
View

Click here to load this message in the networking platform