Vcl.ComCtrls.TCustomTreeView.CheckBoxes

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property CheckBoxes: Boolean read FCheckBoxes write SetCheckBoxes default False;

C++

__property bool CheckBoxes = {read=FCheckBoxes, write=SetCheckBoxes, default=0};

Properties

Type Visibility Source Unit Parent
property protected
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TCustomTreeView

Description

Allows adding checkboxes to the TTreeView platform control.

CheckBoxes support multiple states and can be added to the regular tree structure.

CheckBoxes may be of normal or extended style, which is controlled by CheckStyles property.

Tip: To check a node state use Checked or CheckState properties.
Tip: To handle a checked state node use OnCheckStateChanging and OnCheckStateChanged events.

See Also