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.Visua lBasic.Left(Ctr l.Name,
9) = "PanelName" Then
PanelName(Val(M icrosoft.Visual Basic.Right(Ctr l.Name, 2))) =
Ctrl
End If
Next
Thanks,
Jimmy
--
Message posted via http://www.dotnetmonster.com
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.Visua lBasic.Left(Ctr l.Name,
9) = "PanelName" Then
PanelName(Val(M icrosoft.Visual Basic.Right(Ctr l.Name, 2))) =
Ctrl
End If
Next
Thanks,
Jimmy
--
Message posted via http://www.dotnetmonster.com
Comment