Check out AMEMBERS in the on-line help. This function will provide the information you are looking for.
>Hi all, can anybody tell me how can I cicle through all the controls in a form and catch an specific property's value?
>
>For example if I got 3 buttons in a form and wanna know the status of the enable property for each button. How can I do this? I've tried using the controls and controlscount properties but had not good results, think I'm missing something here.
>
>TIA
>
>Enmanuel
-----------------------------------------
Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.comwww.prenia.comWeblog: blogs.prenia.com/cathi