Vcl.ComCtrls.TTreeNode.StateIndex

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property StateIndex: Integer read FStateIndex write SetStateIndex;

C++

__property int StateIndex = {read=FStateIndex, write=SetStateIndex, nodefault};

Properties

Type Visibility Source Unit Parent
property public
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TTreeNode

Description

Indicates which image from the StateImages list to display for the node.

Use StateIndex to display an additional image for the node that reflects state information. If StateIndex is -1 then no state image is drawn.

Valid index values are 1..15 only. Values of 0 or -1 mean no state icon.

See Also