Anyone know how to add a drop down menu to a button that will appear when you right click the mouse?

M

Marc

Anyone know how to add a drop down menu to a button that will appear
when you right click the mouse?
 
M

Marc

I should add i know how to use the right mouse button command but not
hot to bring a menu up?
 
H

Herfried K. Wagner [MVP]

Marc said:
Anyone know how to add a drop down menu to a button that will appear
when you right click the mouse?

Drop a contextmenu component from the toolbox onto your form and set up the
menu entries. Then assign the contextmenu component to your button
control's 'ContextMenu' property either by using the properties window or
via code at runtime.
 
R

RobinS

Look into Context menus. That's what you're looking for.

Robin S.
------------------
 

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