Sign in Join
FPDoc Onlineexperiment

TCustomComboBox.ItemWidth property

Member of TCustomComboBoxprotectedIn unit StdCtrls

The minimum width of the items in the drop-down list.

Declaration

pascal
property ItemWidth: Integer read GetItemWidth write SetItemWidth default 0;

Description

ItemWidth is an Integer property which contains the minimum number of pixels used when displaying the static or drop-down list for the control. The default value for the property is 0 (zero).

Setting a new value for the property causes the AdjustDropDown method to be called to adjust the dimensions for the list to the values in ItemHeight, ItemWidth, and DropDownCount.

Use ItemHeight to specify the number of pixels required for items displayed in the drop-down list for the control.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.