listbox

J

jim c.

is there a way to add a rightclick mouse event to a
listbox control? or a rightclick event to the whole
userform? using windows api's maybe?
 
J

jim c.

ok, figured out how to add shortcut menu to mousedown
event... my next question is when mousedown event detects
button 2 and executes code, how can i select the item the
pointer is currently pointing at. for instance,
rightclick a cell on a worksheet and the cell is selected
and the shorcut menu is displayed.
 

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