>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
If your controls are all the same type (ex; TextBoxes), you can create an array of those controls. They will share the same events.