[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Adjusts the extent for the drop-down list.
Source position: stdctrls.pp line 363
protected procedure TCustomComboBox.AdjustDropDown; virtual; |
AdjustDropDown is used to adjust the bounds for the drop-list list in the control. AdjustDropDown is called when the drop-list becomes visible, and when the value in the ItemWidth property is changed.
AdjustDropDown does not perform any actions in the method if a handle has not been assigned for the control.
AdjustDropDown ensures that the value in DropDownCount is applied (when needed) to the drop-down list for the control. The minimum height and width for the list is calculated using the ItemWidth and ItemHeight properties. The dimensions are passed to the widgetset class using the SetComboMinDropDownSize routine in the LCL interface.
|
The minimum width of the items in the drop-down list. |
|
|
The default height of an item in the drop-down for the control. |
|
|
The list of items displayed in the combo-box control. |
|
|
The maximum number of Items visible in the drop-down list for the control. |
|
|
Signals the OnDropDown event handler. |
Version 3.2 | Generated 2024-02-25 | Home |