|
-
Jul 5th, 2004, 05:56 PM
#1
Thread Starter
PowerPoster
What's the best way to iterate through multiple controls? (Resolved)
Hi all,
I anticipate having to build a form with well over 100 controls, mainly labels that will emulate LED's. I need some way to iterate through many controls at a time, but I'm really not getting anywhere 
I was thinking of some kind of for each...next loop, but a search of these forums produced zero results, and none of my VB .NET books mention it other than in passing. Presumably it isn't the way to go about this. Plus I spent several hours yesterday playing about in VS and I kept getting error after error, even using code copied and pasted from MSDN Library, so I 'm obviously not understanding this at all.
So, can any of you good people point me in the right direction here please?. If there's one thing that I miss it's the old control array in VB6 - at least I knew how to use that.
Last edited by SuperSparks; Jul 6th, 2004 at 07:04 PM.
Nick.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|