TTreeNodes.ConsistencyCheck procedure
Makes sure all references for nodes in the container are consistent.
Declaration
procedure ConsistencyCheck; virtualDescription
ConsistencyCheck is a method used to ensure that references between
nodes in the container are valid and consistent. ConsistencyCheck raises
catchable debugger exceptions when error conditions are detected in the class
instance, including:
- TopLvlItems is empty.
- TopLvlCount does not match the number of top-level items.
- Invalid sibling nodes or node count.
- Invalid child nodes or node count.
- Invalid index value for a node.
- A node is not found in the node cache.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
