dpatfield66
Well-known member
- Joined
- Apr 6, 2006
- Messages
- 136
- Programming Experience
- 5-10
Does anyone know how I can make sure all controls of the same type (for example (all combo boxes OR all text boxes with the tag, "Same") are handled at a particular event.
For example: if I want ALL combo boxes to do something when the user clicks on them, rather than name every single combo box in my Click Event Handler, how can I tell the program that if it's a combobox it needs to be part of this particular event function.
Ex:
Public Sub combobox_click (ByVal sender...etc) Handles (here is where I want to eliminate having to list every "combobox".click)
For example: if I want ALL combo boxes to do something when the user clicks on them, rather than name every single combo box in my Click Event Handler, how can I tell the program that if it's a combobox it needs to be part of this particular event function.
Ex:
Public Sub combobox_click (ByVal sender...etc) Handles (here is where I want to eliminate having to list every "combobox".click)