Sign in Join
FPDoc Onlineexperiment

TCustomComboBox.GetItemCount function

Member of TCustomComboBoxprotectedIn unit StdCtrls

Returns the number of items defined in the drop-down list.

Declaration

pascal
function GetItemCount: Integer

Function result

The number of Items defined in the control.

Description

GetItemCount is an Integer function used to get the number of values stored in the Items for the control. It is a convenience method, and is equivalent to reading the value for the Count property in Items.

See also

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