WinForms Drop Down List

  • Thread starter Thread starter S Wheeler
  • Start date Start date
S

S Wheeler

Hi-
Hopefully this is a simple one. I need a "Drop down list" - kind of like a
Combo Box but without the ability to type arbitrary text. I tried a list
box, but I want to only show one item in the list, unless the user selects
the "drop" arrow, it which case the list expands and the user can select a
single item. I am using .net c++ winforms and have done this before, but can
not find the right magic to make it work under .net / winforms. Thanks for
the help!
 
S said:
Hi-
Hopefully this is a simple one. I need a "Drop down list" - kind of like a
Combo Box but without the ability to type arbitrary text. I tried a list
box, but I want to only show one item in the list, unless the user selects
the "drop" arrow, it which case the list expands and the user can select a
single item. I am using .net c++ winforms and have done this before, but can
not find the right magic to make it work under .net / winforms. Thanks for
the help!

Combobox has a property DropDownStyle. You may want to set it to DropDownList.
 
Back
Top