General information
Category:
Coding, syntax & commands
Title:
Associating code with multiple events
I have a form with a couple of buttons and some labels on it. I have a popup menu associated with the form.
I'd like to associate that popup menu with every control on the form, not just the form itself.
Instead of manually adding the code using VB's editor to each control's MouseUp event, is their an easier way to associate similar events to one procedure?
So, for each control on my form that has a MouseUp event, I want them all to do the same thing. Any way to do this besides the obvious way?
I gues I'm looking to see if the form can capture the event mouse before the others controls mouse event.
Thanks,
jody
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only