Sign in Join
FPDoc Onlineexperiment

TTreeNode.ImageIndex property

Member of TTreeNodepublicIn unit ComCtrls

Ordinal position for the image displayed for the node, or -1 when no image is assigned.

Declaration

pascal
property ImageIndex: TImageIndex read FImageIndex write SetImageIndex default - 1;

Description

ImageIndex is an Integer property with the ordinal position for the image displayed for the node. It refers to a bitmap stored in the Images property of the associated TreeView control. The default value for the property is -1, and indicates that an image has not been assigned.

Setting a new value for the property causes the Update method to be called to redraw the associated tree view control. The Changed method is called with the ncImageIndex node change reason.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.