"Right-Click" actions

  • Thread starter Thread starter Bill
  • Start date Start date
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
 
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?
 
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.
 
I don't know what I'm thinking of? The KeyPress event
isn't triggered by a mouse click.
Bill
 
Back
Top