By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,473 Members | 3,292 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,473 IT Pros & Developers. It's quick & easy.

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

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

Nov 23 '06 #1
Share this Question
Share on Google+
3 Replies


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

Marc wrote:
Anyone know how to add a drop down menu to a button that will appear
when you right click the mouse?
Nov 23 '06 #2

P: n/a
"Marc" <ma*********@hotmail.comschrieb:
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.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 23 '06 #3

P: n/a
Look into Context menus. That's what you're looking for.

Robin S.
------------------
"Marc" <ma*********@hotmail.comwrote in message
news:11*********************@f16g2000cwb.googlegro ups.com...
>I should add i know how to use the right mouse button command but not
hot to bring a menu up?

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

Nov 23 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.