Skip to main content

TdxTreeViewNodes.BeginUpdate Method

Prevents Tree View updates until an EndUpdate call.

Declaration

procedure BeginUpdate;

Remarks

Every time the node container’s properties change, the Tree View control redraws its client area. Enclose multiple container changes between the BeginUpdate and EndUpdate procedure calls to improve performance and prevent the control from flickering.

Note

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

See Also