IComboBox

Simple:
IComboBox graphic

Drop-down:
IComboBox graphic

Palette category
Lists icon Lists
Palette part choice
IComboBox icon IComboBox
Short description
IBM string combination-box control
Part type
Visual
Header file
icombobx.hpp
Parent class
IBaseComboBox

Use an IComboBox* part to provide a compound selection control for string choices. The combination box consists of an entry field and a scrollable list of choices. You can modify the contents of the list by adding or removing list items.

An IComboBox* part supports selection of a single string, either from the list or by direct entry in the entry field. The selected choice is displayed in the entry field. The list portion of the combination box can be initially hidden in a drop-down list. In this case, the user can select a drop-down button next to the entry field to alternately show or hide the list.

By contrast, an IListBox* part supports multiple string selection, but does not provide an entry field. The list box list is always visible unless the control is completely hidden.

You can select one of three type styles for a combination box:

Drop-down
Allows the user to type a choice or to select a choice from a drop-down list.

Read-only drop-down
Allows the user to select a choice from a drop-down list.

Simple
Allows the user to type a choice or to select a choice from a list that is always visible.


Related procedures
Working with IComboBox Parts

Related references
Property Settings -- IComboBox
Portability -- IComboBox
ICollectionViewComboBox
ICollectionViewListBox
IListBox
VisualAge User Interface Parts
Class documentation for IComboBox