Sign in Join
FPDoc Onlineexperiment

TCustomCheckGroup.Checked property

Member of TCustomCheckGrouppublicIn unit ExtCtrls

Controls whether an individual check box in the group is in the checked state.

Declaration

pascal
property Checked[Index: Integer]: Boolean read GetChecked write SetChecked;

Description

Checked is an indexed Boolean property used to read or write the state for a check box at the ordinal position specified in Index. Index must be in the range 0..Count-1. An exception is raised if an invalid index position is specified.

The value is True if the Checked property for the specified item is set. The OnClick event handler for the check box is not signalled when the checked state is changed using the property.

Use CheckEnabled to control whether a specific check box is enabled, and can toggle the value in its Checked property.

Use Buttons to access the TCheckBox controls for the captions in Items.

Errors

Raises an exception with the message rsIndexOutOfBounds if an invalid index position is specified.

See also

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.