TCustomComboBox.AdjustDropDown procedure
Adjusts the extent for the drop-down list.
Declaration
procedure AdjustDropDown; virtualDescription
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.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
