Yikes!, overlooked the obvious one :), I could swear I looked for a property like that, oh well, thanks, I'm using Mike's suggestion now but controlcount could come in handy later. It's a form class that's supposed to loop through a specific type of control. I could need recursion if I add a pageframe or something, but for now I doubt it, thanks again.
>You can use the ControlCount property to get what you want with one caveat: ControlCount doesn't ocunt the controls inside other containers. To get a complete count, you'll have to use a recursive method that can deal with nested containers, and do the count yourself. Check out message #
257688 for an example of how to write a routine like this. The example is a RunAll method, but you could easily modify it to just count controls.