Sign in Join
FPDoc Onlineexperiment

TCustomCheckCombo.AddItem procedure

Member of TCustomCheckCombopublicIn unit ComboEx

Adds a check box with the specified settings to the Items property.

Declaration

pascal
procedure AddItem(const AItem: string; AState: TCheckBoxState; 
 AEnabled: Boolean=True); reintroduce

Arguments

AItem

Caption for the new check box item.

AState

Check box State for the new item.

AEnabled

Enabled state for the new check box item.

Description

AddItem is a reintroduced procedure used to add a check box with the specified settings to the Items property. AddItem creates a TCheckComboItemState instance which stores the values specified in the AItem, AState, and AEnabled parameters. AddItem calls the inherited method to allocate a new item for the control with the associated item state object.

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