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

TTreeNode.ConsistencyCheck

Ensures that node references to or from the current tree node are valid and consistent.

Declaration

Source position: comctrls.pp line 3134

public procedure TTreeNode.ConsistencyCheck;

Description

ConsistencyCheck validates properties in the tree node to ensure that the node is in a valid state for its TTreeNodes container and the TreeView control where the node is displayed.

ConsistencyCheck can raise a catchable debugger exception if any of the values are not consistent or valid. For instance:

The ConsistencyCheck method is called recursively for child nodes as well.

These exception represent an extraordinary condition.

ConsistencyCheck is called from the implementation of the ConsistencyCheck method in TTreeNodes, and occurs when the TreeView instance calls its ConsistencyCheck method.

See also

TTreeNodes.ConsistencyCheck

  

Makes sure all references for nodes in the container are consistent.

TCustomTreeView.ConsistencyCheck

  

Verifies that values are updated and valid for the tree view control.


Version 4.0 Generated 2025-05-03 Home