You would have to create a control array to do something like the above.
You can use a for each loop to loop through the controls on a given form or panel and get something like you seem to be looking for.
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 4 of 4
Threaded View
|
Click Here to Expand Forum to Full Width |