create MouseOver event at runtime...

lidds

Well-known member
Joined
Oct 19, 2004
Messages
122
Programming Experience
Beginner
I have a form that depending on results from a table would create a number of buttons using code at runtime. This could range from 1 to 20 buttons. What I am struggling with is creating a generic mouse over event for each of these buttons? The reason why I want a generic mouseover event is that depending on the text on the button I would do certain things, instead of duplicating the same code in individual mouseover events.

Is anyone able to give me some help with this. I am writing in VB.Net

Thanks in advance

Simon
 
Back
Top