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.