Home All Groups Group Topic Archive Search About

button with drop down

Author
19 Apr 2006 9:05 AM
donald
Hi there,

Is there a button which i can use of a form which has a button and a
arrow next to it with a list of other buttons. Like New in Outlook or
Undo in Word?

Is there on in the .NET Framework?

Thanks

Donald

Author
19 Apr 2006 10:35 AM
Herfried K. Wagner [MVP]
"donald" <jonat***@dorling.biz> schrieb:
> Is there a button which i can use of a form which has a button and a
> arrow next to it with a list of other buttons. Like New in Outlook or
> Undo in Word?
>
> Is there on in the .NET Framework?

No, except maybe for toolbars and toolstrips.

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>
Author
19 Apr 2006 10:37 AM
Ken Tucker [MVP]
Hi,

http://blogs.msdn.com/jfoscoding/articles/491523.aspx

Ken
------------
Show quoteHide quote
"donald" <jonat***@dorling.biz> wrote in message
news:1145437545.436029.303820@t31g2000cwb.googlegroups.com...
> Hi there,
>
> Is there a button which i can use of a form which has a button and a
> arrow next to it with a list of other buttons. Like New in Outlook or
> Undo in Word?
>
> Is there on in the .NET Framework?
>
> Thanks
>
> Donald
>
Author
19 Apr 2006 12:25 PM
donald
thanks for that Ken.

Got it in my project now

i add the code below But what is the best way of letting which one of
these i have clicked

Thanks

Donald

sb.ContextMenuStrip = new ContextMenuStrip();
sb.ContextMenuStrip.Items.Add("one");
sb.ContextMenuStrip.Items.Add("two");
sb.ContextMenuStrip.Items.Add("three");