PC Review
Forums
Newsgroups
Microsoft DotNet
Microsoft VB .NET
Array of Buttons WithEvents
Forums
Newsgroups
Microsoft DotNet
Microsoft VB .NET
Array of Buttons WithEvents
![]() |
Array of Buttons WithEvents |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
In VB.net I am trying to make an array of dynamically generated buttons. I
can do that but I cant figure out how to get them to work "WithEvents." Can someone tell me if and how this can be done? Thanks, Craig |
|
|
|
#2 |
|
Guest
Posts: n/a
|
Craig,
It is a standard question. It is in this simple sample on our (under reconstruction) website, http://www.vb-tips.com/default.aspx...02-03abce36aa60 I hope this helps, Cor "Craig" <Craig@discussions.microsoft.com> schreef in bericht news:6C7F7294-D9BC-4C37-AED5-4D8E0297CB46@microsoft.com... > In VB.net I am trying to make an array of dynamically generated buttons. I > can do that but I cant figure out how to get them to work "WithEvents." > > Can someone tell me if and how this can be done? > > Thanks, > Craig |
|
|
|
#3 |
|
Guest
Posts: n/a
|
to dynamicly created controls ,, you can programaticly add handlers for the
events you might want to catch regards Michel posseth "Craig" <Craig@discussions.microsoft.com> schreef in bericht news:6C7F7294-D9BC-4C37-AED5-4D8E0297CB46@microsoft.com... > In VB.net I am trying to make an array of dynamically generated buttons. I > can do that but I cant figure out how to get them to work "WithEvents." > > Can someone tell me if and how this can be done? > > Thanks, > Craig |
|
|
|
#4 |
|
Guest
Posts: n/a
|
"Craig" <Craig@discussions.microsoft.com> schrieb:
> In VB.net I am trying to make an array of dynamically generated buttons. I > can do that but I cant figure out how to get them to work "WithEvents." > > Can someone tell me if and how this can be done? F1 (Help) + 'AddHandler' statement. -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/> |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

