Skip to main content

TcxTreeListNode.CheckClick Method

Clicks a control (a check box or radio button) that indicates the node’s checked state.

Declaration

procedure CheckClick;

Remarks

In two-state check mode (the AllowGrayed property is False), successive calls to the CheckClick procedure change a check box between two states – either checked or unchecked.

In three-state check mode (the AllowGrayed property is True), successive calls to the CheckClick procedure change a check box between three states – checked, unchecked or grayed.

If a check box is disabled (the Enabled property is False), the procedure does nothing.

You can handle the tree list’s OnNodeCheckChanging and OnNodeCheckChanged events to respond to changes made to the node’s checked state and, optionally, discard them.

See Also