ITreeControl.Checkboxes

Fore Syntax

Checkboxes: Boolean;

Fore.NET Syntax

Checkboxes: Boolean;

Description

The Checkboxes property indicates whether the elements of the component have checkboxes.

Comments

Available values:

If the StateImages property is set for the component and Checkboxes = True, the three first images from the StateImages collection are used to display element checkboxes state: the image with the index 0 for not selected, with the index 1 for selected and with the index 2 for checkboxes with undefined state.

If the SelectionMode = SingleSelected and CheckBoxes = True properties are set for the component, checkbox state is changed on pressing the SPACE button when the desired node is focused. The OnChecking and OnChecked events are generated on checkbox state change.

Example

See also:

ITreeControl