Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Use a combo box to present a list from which the user can select entries. A combo box consists of an edit box portion and a list portion. The ComboBoxStyle property determines the style of the combo:

Image RemovedImage RemovedImage Removed
 

Simple

Image Added

In a simple combo box both the edit box and the list portion are shown.

Drop-Down

Image Added

In a drop-down combo box the list portion is hidden until the user clicks on the spin button. This style is useful when you want to fit a list in a small place.

Drop-Down List

Image Added

A drop-down list is otherwise the same as a drop-down, except it does not allow the user to enter data.