473,791 Members | 2,853 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

button with drop down

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

Apr 19 '06 #1
3 976
"donald" <jo******@dorli ng.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/>
Apr 19 '06 #2
Hi,

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

Ken
------------
"donald" <jo******@dorli ng.biz> wrote in message
news:11******** **************@ t31g2000cwb.goo glegroups.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

Apr 19 '06 #3
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.ContextMenuS trip = new ContextMenuStri p();
sb.ContextMenuS trip.Items.Add( "one");
sb.ContextMenuS trip.Items.Add( "two");
sb.ContextMenuS trip.Items.Add( "three");

Apr 19 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
282
by: Ireney Berezniak | last post by:
Hey guys, I have a problem with events misfiring when the back button is used. I have two controls (a drop-down list and a text field) and two buttons, one for each of the controls, on a "quick search" type bar/control. When I click the button that submits the drop-down list, I do some processing on the button click event postback, and redirect to another page. That's fine. The problem is, when I hit the browser BACK button, and then...
2
2683
by: Danny Wang | last post by:
HI, I have a dialog (window) with a drop-down list and an OK button. When user clicks the drop-down list, the app need to do some calculation and validation, so I put an Text_on_change event on the drop-down. When click OK the dialog should be closed; however, if the user already clicked the drop-down, he needs to click OK button twice to close the window. After a little research I found out the once the focus is moved out the drop-down...
3
2411
by: Penny Bond | last post by:
Hi, Any help or suggestions on this one would be gratefully appreciated: I have 2 aspx pages one is called 'Query' and the other 'Details'. Query page has a number of text boxes and drop down's for parameter selection, a 'Search' button and a grid that displays the results (the results contain links to 'Details' page with query string params). The 'Details' Page allows user to see detailed information on the selected product.
0
1341
by: John | last post by:
Hi vs2005 rc. When I click on a "New" split button on the BindingNavigator a button_click event is produced and therefore a new record is added by the BindingNavigator. However when I click on the drop down part (down arrow) of the split button a button_click event is still produced and a new record is still added, while the purpose of clicking on the drop down is simply to display the drop down menu for further selection and not to add...
3
1482
by: Jeff User | last post by:
Greeting I built asp.net (V1.1) page. I want to use this button to reset SelectedIndex=0 on several drop down lists. However, I do not want to post back to server. The point is to avoid the round trip. It had an asp:button which would post back to the server when clicked but changed it to an input button to avoid the postback. (If that is not needed,let me know)
2
12443
by: Eric Layman | last post by:
Hi, I have a radio button and a combo box. Upon changing a value for radio button, the combo box values will be dynamically updated. I have an idea on how to go abt doing it but Im stuck into converting into code.
4
2635
by: Greg Scharlemann | last post by:
I'm trying to setup a dyamic dropdown list that displays a number of text fields based on the selected number in the dropdown. The problem I am running into is capturing the data already entered before the list is repopulated. For example, suppose the user selects 3 in the drop down list and 3 text fields are shown. If the user populates the 3 text fields with data and decides to change the drop down to a list of 4 or 5, how do I capture...
1
5082
by: sparksol | last post by:
I have a form with a drop down box. If you select an option in the drop down box (depending which option is selected) one or two textbox(es) and a submit button display. I would like to keep the textbox(es) and the submit button showing until another option is selected. Also the data that's submitted is showing on the form page. Here's an example - I need the code below to do this: 1. I go to the page - I see a drop down box. 2. I...
3
3241
by: John | last post by:
Hi I am looking for a drop down button control like Infragistics's ultra drop down button but I don't want to purchase the whole suit for one control. Any recommendations would be appreciated. Thanks Regards
1
2383
by: grego9 | last post by:
I have two option buttons - Diplayed as Option Button 76 and Option Button 77 in the name box on a tab called "AMEND" . When Option button 76 is slected I want a drop down box called Drop Down 43 to disappear. I have gone into the VB editor and added the following macro to the AMEND Tab Private Sub OptionButton76_Click() DropDown43.Visible = False End Sub
0
9669
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9515
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10426
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10207
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10154
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9029
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7537
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5430
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3713
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.