TTreeNode.NodeEffect property
Graphic drawing effect applied to the node in the associated TreeView control.
Declaration
property NodeEffect: TGraphicsDrawEffect read FNodeEffect write SetImageEffect;Description
NodeEffect is a
TGraphicsDrawEffect property with the
drawing effect applied to the tree node when it is drawn on the associated
TreeView control. NodeEffect controls the drawing style applied to both the
text and the image for a given node.
The default value is gdeNormal as assigned in the constructor for the tree node instance. This causes the tree node to be drawn with no effect applied to the node. See TGraphicsDrawEffect for the other values allowed in the property, and their meanings.
Changing the value for the property causes the Update method to be called to redraw the TreeView control for the node. The Changed method is called to notify the TreeView control of the reason that the node was changed.
Use the ImageIndex and OverlayIndex properties to specify the primary and overlay images drawn for the tree node. The visual drawing effect is also updated when values are changed in the Cut, Expanded, Focused, Selected, or Enabled properties.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
