 |
Goran Level: Moderator
 Registered: 16-05-2002 Posts: 1681
|
Re: Control Array in VB.net
As a footnote, Option Strict is by default Off (to those who are begining to learn VB.NET). But, if you turn it On, Chris_871 code will still work with small change:
MsgBox("You have selected " & CType(Sender,Button).Name)
instead of Select Case .... End Select
Altough, dynamic sysop's code is a good example of using AddHandler method.
____________________________
If you find the answer helpful, please mark this topic as solved.
|
|
26-11-2003 at 09:41 PM |
|
|
Goran Level: Moderator
 Registered: 16-05-2002 Posts: 1681
|
Re: Control Array in VB.net
As a footnote, Option Strict is by default Off (to those who are begining to learn VB.NET). But, if you turn it On, Chris_871 code will still work with small change:
| MsgBox("You have selected " & CType(Sender,Button).Name) |
instead of Select Case .... End Select
Altough, dynamic sysop's code is a good example of using AddHandler method.
____________________________
If you find the answer helpful, please mark this topic as solved.
|
|
26-11-2003 at 09:42 PM |
|
|
|
|
 |
 |