Click here to Skip to main content
14,124,063 members
Rate this:
 
Please Sign up or sign in to vote.
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
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

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
   
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

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.
   

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Cookies | Terms of Service
Web06 | 2.8.190518.1 | Last Updated 11 Feb 2012
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100