I want to have many objects share a common handler.
However, I need to determine which object caused the handler to execute
How can I do that?
private sub CreateObjects
for x = 0 to 99
TB = New TextBox
TB.tabindex=x
Me.Controls.Add(TB)
AddHandler TB.TextChanged, AddressOf CellChanged...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.