Extend Button With DropDown
-
See the 'Back' button on your IE browser, or the 'New' button in VS. They have this little arrow to the right of the text which if selected gives a drop down of related choices. Is this an extended button? Or simply two buttons very close to each other? Does anyone know where I can learn about how to make such a button. Thank you. -d
-
See the 'Back' button on your IE browser, or the 'New' button in VS. They have this little arrow to the right of the text which if selected gives a drop down of related choices. Is this an extended button? Or simply two buttons very close to each other? Does anyone know where I can learn about how to make such a button. Thank you. -d
Well, in Visual Studio 2003, this is built in. I believe these are the steps: - Place a System.Windows.Forms.Toolbar on the top of your form. - Now edit the properties, and choose the Buttons collection. - Add a new button, and for the Style, choose Drop Down button. - I think here you have to assign a Drop Down list into the property DropDownMenu. Try that see if it works. If you don't have VS 2003 maybe post what dev env you are using. :)
-
Well, in Visual Studio 2003, this is built in. I believe these are the steps: - Place a System.Windows.Forms.Toolbar on the top of your form. - Now edit the properties, and choose the Buttons collection. - Add a new button, and for the Style, choose Drop Down button. - I think here you have to assign a Drop Down list into the property DropDownMenu. Try that see if it works. If you don't have VS 2003 maybe post what dev env you are using. :)
Yes, that is the button I'm looking for. I just don't want it in a tool bar. I'll look at the code that is generated and see if I can adapt it for my needs. Thank you -d VS 2003 is what I'm using
-
See the 'Back' button on your IE browser, or the 'New' button in VS. They have this little arrow to the right of the text which if selected gives a drop down of related choices. Is this an extended button? Or simply two buttons very close to each other? Does anyone know where I can learn about how to make such a button. Thank you. -d