array of control
-
how can i get an array of any control in visual basic to use them one by one by clicking one command button. waiting for solution.thanx
What do you want to do ? VB6 or VB.NET ? Christian Graus - Microsoft MVP - C++
-
how can i get an array of any control in visual basic to use them one by one by clicking one command button. waiting for solution.thanx
I am not sure I understand your question, and you need to specify what version of VB you are using. In VB6 you can create arrays of controls and enumerate them like any array. In VB.NET you cannot create arrays of controls, but you can add controls to the Controls collection of a form, a panel or a groupbox dynamically. You also can enumerate the control collections of any container (i.e. a form, panel, groupbox).