TdxCustomTreeView.BeginUpdate Method
Prevents Tree View updates until an EndUpdate call.
Declaration
procedure BeginUpdate;
Remarks
Every time a node‘s properties (except for selection) change, the Tree View control redraws its client area. Enclose multiple Tree View changes between the BeginUpdate and EndUpdate procedure calls to improve performance and prevent the 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