Skip to main content
A newer version of this page is available. .

TcxCustomComboBox Class

Serves as the base class of classes that implement editors incorporating a list of values within a dropdown window.

Declaration

TcxCustomComboBox = class(
    TcxCustomDropDownEdit
)

Remarks

This class is the base class for the TcxComboBox class and for other classes representing single-line text editors, enhanced with a dropdown window, containing a list of values. TcxCustomComboBox provides properties and methods defining the basic functionality of combo box editors.

End-users can do the following to close or open the dropdown window:

  • Click the editor’s down arrow button;

  • Press the Alt+Up arrow, Alt+Down arrow, or F4 key. These keystrokes invoke the CloseUp method with the AAccept parameter set to True. This forces the editor to change the edit value to the one selected in the dropdown window. When the dropdown window is active, pressing the Esc key discards the user selection and closes the dropdown window. After pressing the Esc key the editor keeps the previously selected value.

Note

The editor’s dropdown window can be activated only if it contains at least one value.

See Also