Sign in Join
FPDoc Onlineexperiment

TCustomCheckCombo.CheckItemStates procedure

Member of TCustomCheckComboprotectedIn unit ComboEx

Ensures that check box item state classes have been allocated for items in the control.

Declaration

pascal
procedure CheckItemStates

Description

CheckItemStates is a procedure used to ensure that TCheckComboItemState class instances exist for the Items defined in the control. CheckItemStates iterates over the values in Items to determine if its Objects property contains a valid TCheckComboItemState instance. An Exception is raised when the object is not derived from TCheckComboItemState.

CheckItemStates is used in the implementation of the InitializeWnd and AsyncCheckItemStates methods.

Errors

Raises an Exception when a check box in Items does not have a valid TCheckComboItemState object.

See also

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