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

# TCustomCheckCombo.State

Provides indexed access to the checked State for a check box defined in Items.

## Declaration

Source position: comboex.pas line 328

`public property TCustomCheckCombo.State[AIndex: Integer] : TCheckBoxState read GetState write SetState;`

## Description

State is an indexed TCheckBoxState property which provides access to the checked State for a check box defined in Items. AIndex specifies the ordinal position in Items for the check box. State returns the TCheckBoxState value in TCheckComboItemState.State for the associated object instance.

Changing the value for the property causes the OnItemChange event handler to be signalled. The Invalidate method is also called when AIndex is the current value in the ItemIndex property.

## See also

TCustomCheckCombo.ItemEnabled |  | Provides indexed access to the Boolean enabled value for a check box defined in Items.
TCustomCheckCombo.Checked |  | Provides indexed access to the Boolean value for a check box defined in Items.
TCustomCheckCombo.Objects |  | Provides indexed access to the Data for a check box defined in Items.
TCheckComboItemState.Enabled |  | Indicates the current enabled state for a check box.
TCheckComboItemState.State |  | Represents the current state for a check box.