Welcome! and rules
Joel on Software
Index property in .net
I used to program in VB6 - and if I wanted an array of buttons, I could use the index property when I put the buttons on the form. I have noticed that .net controls don't have this property - so how do I put an array of buttons on a form?
As you've discovered, there is no fixed notion of "control arrays" in VB .NET. However, there are ways to do most everything that you could do with a control array. The real question is what are you trying to do? Handle events from multiple controls in a single place, create controls dynamically, or what?
I am trying to handle events from multiple controls in a single place.
That's easy to do - just attach the event handlers for each button to the same method in the form class.
"...just attach the event handlers for each button to the same method in the form class."
?? should be: "that *is* passed to you"
And just to add a tiny bit more detail -
Fog Creek Home