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

# TTreeNodeInfo

TTreeNodeInfo - record structure for (new) Tree Node information.

## Declaration

Source position: comctrls.pp line 2981

`type TTreeNodeInfo = packed record`
`ImageIndex: Integer;` |  | Ordinal position of the image displayed for the tree node.
`SelectedIndex: Integer;` |  | Ordinal position of the tree node in the list of selected nodes, or -1 when it is not selected.
`StateIndex: Integer;` |  | Ordinal position for the image displayed to indicate the tree node state.
`OverlayIndex: Integer;` |  | Ordinal position for the image displayed an overlay on the icon for the tree node.
`Count: Integer;` |  | Number of lines of text for the tree node.
`Height: Integer;` |  | Height (in pixels) for the rendered tree node.
`Expanded: Boolean;` |  | True if the node is expanded to show its child nodes, or False when it is collapsed.
`TextLen: Integer;` |  | Total length (in bytes) for the text lines in the tree node.
`end;`