Click here to Skip to main content
15,886,199 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a ToolStrip from which the user can select from a large number of options, such as one of our 40 or so employees. Because of space restrictions on the form, I would prefer to use a ToolStripDropDownButton rather than a ToolStripComboBox.

I can populate the button's drop-down just fine, but with 40 entries, the list is a tad long, and some of the other buttons I need to implement will have dozens of choices. I have been trying to find some kind of scrollable drop-down, similar to the one on the combo box but looking like the a drop-down menu, to no avail. I have searched on Code Project and around Google, but no luck there, either.

Before I give up, I'm hoping a fellow CPer might have some suggestions.
Posted

Not sure why you are using the toolstrip stuff when libraries like:
Windows Ribbon for WinForms[^] is freely available.

Have a look at Arik Poznanski articles[^] for several articles on how to use the library.

Best regards
Espen Harlinn
 
Share this answer
 
This would be easy if you were using WPF. As it is, I think your best bet is to just have a tool strip button, and have it show a dialog box you write that shows the items with a scroll bar.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900