Hide

SftBox/OCX 5.0 - Combo Box Control

Display
Print

Selections

The user can change the selection in a combo box by using the arrow keys, PgUp, PgDn, Home, End, etc. As the selection changes, an application receives SelectionChange and SelectionAccept events. If a combo box has an edit control portion, not all keys listed cause a selection change, but instead are processed by the edit control portion and have the usual effect that would be expected of an edit control.

The current item (the selected item) is always displayed in the static portion or edit control portion of the combo box. It is possible that no item is selected.

The edit control portion only displays the cell text of one cell, normally the first displayed column (see DropDown.CharSearchColumn). If an item is selected, the edit control portion displays the cell of specified column.

In a control with an edit control portion, the user can enter any text in the edit control. As the user enters text, the KeyDown, KeyPress and KeyUp events are generated. If the text entered matches the cell text of the first display column (DropDown.CharSearchColumn), the entry is automatically selected (based on the DropDown.CharSearchMode settings).


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.