vcl-cxdropdownedit-58ce5c96.md
The base class for all editors that allow users to select options in a drop-down window.
TcxCustomComboBox = class(
TcxCustomDropDownEdit,
IcxItemIndexHandler
)
A combo box editor combines a single-line text editor and a drop-down menu. If user input in the text edit box matches initial characters in a menu string, the combo box allows a user to autocomplete the current input with the full string.
The TcxCustomComboBox class implements base functionality common to all editors that allow users to select options in a drop-down window.
↑ and ↓ arrow keys allow users to switch between combo box items, even when the drop-down menu is closed. Ctrl + Page Up and Ctrl + Page Down keystrokes select first and last items, respectively.
Users can do the following to open or close the drop-down combo box menu:
Note
You can open the drop-down menu only if it contains at least one value.
The list below outlines key members of the TcxCustomComboBox class that allow you to configure combo boxes and manage combo box items:
Terminal TcxCustomComboBox class descendants include all unbound and data-aware editors that can display a list of options in a drop-down window.
Do not create TcxCustomComboBox class instances. Use the following descendants instead:
You can use any unbound combo box editor as a standalone control or as an in-place editor embedded into a container control.
The ExpressEditors Library includes the following unbound combo box editors:
TcxComboBoxAn unbound combo box.TcxCheckComboBoxAn unbound combo box editor that can display items with check boxes.TcxColorComboBoxRepresents a color combo box control.TcxExtLookupComboBoxRepresents a lookup editor displaying a grid View in its dropdown window.TcxFontNameComboBoxRepresents a combo box control containing font names available for selection.TcxImageComboBoxAn unbound combo box with support for images.TcxLookupComboBoxRepresents a lookup combo box control.TcxMRUEditRepresents a text editor displaying the list of most recently used items (MRU) within a dropdown window.
Data-aware combo box editors are designed to display and modify field values in the underlying dataset.
Note
If a combo box has both unbound and data-aware versions, you can only use its unbound version as an in-place editor.
The ExpressEditors Library ships with the following data-aware combo box editors:
TcxDBComboBoxA data-aware combo box.TcxDBCheckComboBoxA data-aware combo box editor that can display items with check boxes.TcxDBColorComboBoxRepresents the data-aware version of the TcxColorComboBox.TcxDBExtLookupComboBoxRepresents a control to edit a dataset field by picking up a record in its dropdown data-aware View.TcxDBFontNameComboBoxRepresents a data-aware version of the TcxFontNameComboBox.TcxDBImageComboBoxA data-aware image combo box.TcxDBLookupComboBoxRepresents a data-aware editor displaying a set of values from a lookup dataset used for editing values in another dataset.TcxDBMRUEditRepresents a data-aware text editor that stores the list of most recently used items and allows the selection of a value from this list.
Show 15 items
TObject TPersistent TComponent TControl TWinControl TCustomControl TcxCustomControl TcxControl TcxContainer TcxCustomEditContainer TcxCustomEdit TcxCustomTextEdit TcxCustomMaskEdit TcxCustomDropDownEdit TcxCustomComboBox
See Also