Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Associating code with multiple events
Message
From
13/10/1998 07:52:36
Jody Cairns
OAO Technology Solutions
Moncton, New Brunswick, Canada
 
 
To
All
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Title:
Associating code with multiple events
Miscellaneous
Thread ID:
00146162
Message ID:
00146162
Views:
51
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
Map
View

Click here to load this message in the networking platform