Skip to main content

TdxCustomTreeView.EndUpdate Method

Enables Tree View updates after a BeginUpdate procedure call.

Declaration

procedure EndUpdate;

Remarks

Every time a node‘s properties (except for selection) change, the Tree View control redraws its client area. Enclose multiple tree changes between the BeginUpdate and EndUpdate procedure calls to improve performance and prevent the Tree View control from flickering.

To avoid excessive redraw operations when multiple selection changes occur, call the BeginSelect and EndSelect procedures.

Note

An EndUpdate procedure call should follow every BeginUpdate procedure call, even if an exception occurs.

See Also