I want to access all of the controls in my form with this code:
For each pc in Myform.control
do somthing
My Problem is that I have multilayer panels in myform.For example "Myform" contains (textbox1,textbox 2,combobox1,panle1,panel2).
Panel1 contains (panel11 and textbox 3)
panel 2 contains (panel22 and textbox4 and combobox2)
In addition panel22 contains (textbox5 and panle222)
How can I access "All" of the controls(textbox and combobox) in "Myform" without considering whether they are in a panel or not.
Any help is greatly appreciated.