Re: WinForms Drop Down List



S Wheeler wrote:
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.
.



Relevant Pages

  • WinForms Drop Down List
    ... Combo Box but without the ability to type arbitrary text. ... the "drop" arrow, it which case the list expands and the user can select a ... I am using .net c++ winforms and have done this before, ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: WinForms Drop Down List
    ... a Combo Box but without the ability to type arbitrary text. ... I am using .net c++ winforms and have done this ... Combobox has a property DropDownStyle. ...
    (microsoft.public.dotnet.framework.windowsforms)