[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Verifies that values are updated and valid for the tree view control.
Source position: comctrls.pp line 3689
public procedure TCustomTreeView.ConsistencyCheck; |
ConsistencyCheck is a method used to validate and/or update property and member values in the control. It raises an Exception (catchable in the debugger) for invalid property values in the control, including:
The Items property has additional validations performed for its property values. The ConsistencyCheck method in Items is called to verify node counts, update counts, index values, and hierarchy levels in the container. An Exception is raised for error conditions in these items as well.
Values in the States property are examined and updated (when needed) to refresh the display coordinates for tree nodes, the maximum width for the expanded nodes in the control, and the levels in the tree hierarchy. These operations may also raise an Exception for invalid states or values.
ConsistencyCheck is called from the WriteDebugReport method.
Version 3.2 | Generated 2024-02-25 | Home |