"Right-Click" actions

B

Bill

I thought I'd remembered reading somewhere that
"Right-Click" actions could be assigned to controls.
Yet, I don't see a "Right-Click" option given in the
"Events" tab of a combo's property sheet.

It seems that the "Right-Click" action can only be
specified at the form's level, is that the limitation?

Bill
 
G

Guest

I stab in the dark, but couldn't you use the On Key Press Event to verify if
the right-click was used and if so execute some code?
 
B

Bill

I'll give that a try. It will depend "who" gets control first,
the control code or the form code. I.e., if the Event code
gets first crack at the interrupt, then what you suggest will
work, providing that the "right-click" code for the form
doesn't subsequently get control when the class module
code ends.
 
B

Bill

I don't know what I'm thinking of? The KeyPress event
isn't triggered by a mouse click.
Bill
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top