Hello, I've created an array of fifty buttons and want to tie their click
events together. Can anyone help me? Here's the code that I'm using to create
the controls. I just don't know how to tie their events
together.
For Each Ctrl As Control In Form1.Controls
If TypeOf Ctrl Is Panel And Microsoft.VisualBasic.Left(Ctrl.Name,
9) = "PanelName" Then
PanelName(Val(Microsoft.VisualBasic.Right(Ctrl.Nam e, 2))) =
Ctrl
End If
Next
Thanks,
Jimmy
--
Message posted via http://www.dotnetmonster.com