TcxCustomComboBoxProperties Class
The base class for all classes that implement combo box editor settings.
Declaration
TcxCustomComboBoxProperties = class(
TcxCustomDropDownEditProperties,
IcxValueByItemIndexProvider
)
Remarks
Combo box settings allow you to customize appearance and behavior of the following editors that display a drop-down window populated with menu items:
- TcxComboBox | TcxDBComboBox
- A general purpose combo box editor.
- TcxFontNameComboBox | TcxDBFontNameComboBox
- A combo box editor that allows users to switch between font typefaces.
- TcxColorComboBox | TcxDBColorComboBox
- A combo box designed to select a color.
- TcxMRUEdit | TcxDBMRUEdit
- A text editor designed to display a list of most recently used (MRU) items in a drop-down window.
- TcxLookupComboBox | TcxDBLookupComboBox
- A combo box editor whose drop-down window is populated with field values from the bound dataset.
Main API Members
The list below outlines key members of the TcxCustomComboBoxProperties
class that allow you to configure a drop-down menu and related functionality.
- Specify if the drop-down menu automatically adjusts its width to display menu items in full (DropDownAutoWidth).
- Explicitly define drop-down window width (DropDownWidth).
- Allow users to resize the drop-down window (DropDownSizeable).
- Switch between available user input modes (DropDownListStyle).
- Disable the drop-down window in read-only mode (AllowDropDownWhenReadOnly).
- Change the number of simultaneously visible menu items in the drop-down window (DropDownRows).
- Populate the list of expressions for automatic user input completion (Items).
- Allow users to double-click the editor to switch between items (Revertable).
- Adjust the height of individual drop-down menu items (OnMeasureItem).
- Custom draw drop-down menu items (OnDrawItem).
Terminal TcxCustomComboBoxProperties Class Descendants
Do not use the TcxCustomComboBoxProperties
class directly. Use the following descendants instead:
- TcxComboBoxProperties
- Stores combo box editor settings.
- TcxColorComboBoxProperties
- Stores color combo box settings.
- TcxFontNameComboBoxProperties
- Stores settings of a font name combo box editor (also called font picker).
- TcxImageComboBoxProperties
- Stores image combo box editor settings.
- TcxCustomLookupEditProperties
- Contains settings specific to lookup editors.
- TcxMRUEditProperties
- Contains settings specific to MRU editors.
Inheritance
See Also