Skip to main content

TdxCustomOrgChart.BeginUpdate Method

Disables the control’s repainting until the EndUpdate procedure is called.

Declaration

procedure BeginUpdate;

Remarks

Each time the control’s content changes (due to adding, removing, changing node appearance settings, etc.) the client area is repainted to reflect the changes. Therefore, performing multiple changes at once results in a sequence of multiple repainting operations.

The BeginUpdate procedure postpones control’s content changes. To apply all the pending changes, call the EndUpdate procedure.

Ensure that every BeginUpdate call is followed by an EndUpdate call, even if an exception occurs.

See Also