Unit 'ComCtrls' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#lcl]

TTreeNode.Update

Redraws the associated TreeView control if an update is not already in progress.

Declaration

Source position: comctrls.pp line 3143

public procedure TTreeNode.Update;

Description

Update calls the Invalidate method in the TreeView control for the node and causes the tree view control (and the node) to be redrawn. No actions are performed in the method if TreeView has not been assigned, or if the TTreeNodes container is already performing an update.

Update is called is called when a new value has been assigned to the Text, Height, or NodeEffect properties in the node.

See also

TTreeNode.Text

  

Text displayed for the tree node.

TTreeNode.Height

  

The height for the node including its text, images, and indicators.

TTreeNode.NodeEffect

  

Graphic drawing effect applied to the node in the associated TreeView control.

TTreeNode.TreeView

  

The tree view control where the node is displayed.

TTreeNodes.BeginUpdate

  

Starts an update process for the tree nodes in the container.

TTreeNodes.EndUpdate

  

Finishes an update process for the tree nodes in the container.

TCustomTreeView.Invalidate

  

Causes the control to be redrawn when a redraw is not already in progress.

TCustomTreeView.OnNodeChanged

  

Event handler signalled when the text for a tree node has been changed.



CT Web help

CodeTyphon Studio