Sign in Join
FPDoc Onlineexperiment

TCustomCheckCombo.AssignItems procedure

Member of TCustomCheckCombopublicIn unit ComboEx

Assigns the content in the specified TStringList to the Items in the control.

Declaration

pascal
procedure AssignItems(AItems: TStrings)

Arguments

AItems

TStringList with values stored in the method.

Description

AssignItems calls ClearItemStates to reset the state flags for the existing Items. The Assign method in Items is called to store the values in AItems. The InitItemStates method is called to initialize the Objects properties in Items with TCheckComboItemState instances for each of the check boxes.

InitItemStates can raise an exception if any of the Objects in AItems contains a class not derived from TCheckComboItemState.

See also

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