Sign in Join
FPDoc Onlineexperiment

TCustomTreeView.EndUpdate procedure

Member of TCustomTreeViewpublicIn unit ComCtrls

Finishes an update process for the tree view control.

Declaration

pascal
procedure EndUpdate

Description

EndUpdate is a method used to finish an update process for the tree view control. EndUpdate is used with BeginUpdate to maintain update counters used to consolidate updates and event notifications in the control.

EndUpdates raises an Exception (catchable in the debugger) if the internal update counter is 0 or less when the method is called.

EndUpdates calls the EndUpdate method in the Items container. UpdateScrollBars is called to refresh the position in the visible scroll bars when a change actually occurred in the list of tree nodes.

Errors

Raises an Exception if the internal update counter is 0 or less when the method is called.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.