[Overview][Types][Classes][Procedures and functions][Index] | Reference for unit 'ExtCtrls' (#lcl)

# TCustomCheckGroup.Checked

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

## Declaration

Source position: extctrls.pp line 903

`public property TCustomCheckGroup.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

TCustomCheckGroup.CheckEnabled |  | Indicates whether a check box control in the group is enabled or disabled.
TCustomCheckGroup.Buttons |  | Provides indexed access to the check boxes on the group box control.
TCustomCheckGroup.Items |  | String list with the captions for the check boxes in the grouped edit control.
TCustomCheckGroup.OnItemClick |  | OnItemClick - event handler signalled when the mouse is clicked on one of the Items in the control.
TCheckBox.OnClick |  | Notification handler for mouse clicks.