[Overview][Constants][Types][Classes][Procedures and functions][Index] |
The default height of an item in the drop-down for the control.
Source position: stdctrls.pp line 393
protected property TCustomComboBox.ItemHeight : Integer |
ItemHeight is an Integer property which contains the height (in pixels) used when drawing an item in the drop-down list.
The value for the property is retrieved from the widgetset class when not already assigned in the class instance, or when using an owner-drawn Style. Setting a new value for ItemHeight calls the SetItemHeight method in the widgetset class for owner-drawn Styles.
The property value is updated when the LM_MeasureItem message is handled for the control. When variable height items are enabled in Style, the OnMeasureItem event handler must be implemented to calculate the height for individual value in Items.
ItemHeight, ItemWidth, Items, and DropDownCount are used in the AdjustDropDown method to determine the dimensions for the drop-down list in the control.
|
Handler invoked when the height for an item is needed. |
|
|
Controls the appearance and behavior for the combo-box. |
|
|
The list of items displayed in the combo-box control. |
|
|
The minimum width of the items in the drop-down list. |
|
|
The maximum number of Items visible in the drop-down list for the control. |
|
|
Adjusts the extent for the drop-down list. |
Version 3.2 | Generated 2024-02-25 | Home |