MarcGraff
asked on
system.EventHandler with variable
Is there any what to attach a variable to an event handler?
IE:
oEventHandler = New System.EventHandler(Addres sOf ChangeInstance(i))
Thanks!
- Marc
IE:
oEventHandler = New System.EventHandler(Addres
Thanks!
- Marc
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
gregoryyoung:
What I am attempting to accomplish is to have a form that is a single record in a table. I want a menu that has an entry (menu item) for each record in the table. There for I want to send the index of the record in the table along with the on click event of the menu.
b1xml2:
Hmm ok, that is a bit advanced for me but I will give it a shot.
Thanks!
What I am attempting to accomplish is to have a form that is a single record in a table. I want a menu that has an entry (menu item) for each record in the table. There for I want to send the index of the record in the table along with the on click event of the menu.
b1xml2:
Hmm ok, that is a bit advanced for me but I will give it a shot.
Thanks!
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks! With some effort I've got it! Thanks so much!
- Marc
- Marc
dim foo as new EventHandler(AddressOf MyRoutine)
is fine ...
New System.EventHandler(Addres