>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