none
What is the difference between ListBox and ComboBox control?

    Question

  • hi,

    I know one is, listbox, you can select more than one. But in combobox, you only can select one. What else?

    Thanks.

    Wednesday, June 21, 2006 9:11 PM

Answers

  • A ComboBox is a combination of listbox and edit control. A simple combobox is just a listbox with an edit control at the top; you can select from the list or type. a combobox with style "dropdown" is the same, but the listbox doesn't show up until you click the dropdown glyph. You can dropdown and select or just type in the edit control. a combobox with dropdownlist style is similar, but you can only select from the list presented - you can't type in what you want in the edit control.

    Basically, a combobox (non simple style) takes up a lot less screen realestate than a full-on listbox.

    Wednesday, June 21, 2006 11:15 PM

All replies

  • The obvious one is that a combobox shows a single selection and drops down.

     

    Wednesday, June 21, 2006 10:51 PM
  • A ComboBox is a combination of listbox and edit control. A simple combobox is just a listbox with an edit control at the top; you can select from the list or type. a combobox with style "dropdown" is the same, but the listbox doesn't show up until you click the dropdown glyph. You can dropdown and select or just type in the edit control. a combobox with dropdownlist style is similar, but you can only select from the list presented - you can't type in what you want in the edit control.

    Basically, a combobox (non simple style) takes up a lot less screen realestate than a full-on listbox.

    Wednesday, June 21, 2006 11:15 PM