Skip to main content

TdxCustomOrgChart.EndUpdate Method

Enables repainting of the control’s content after a call to the BeginUpdate procedure.

Declaration

procedure EndUpdate;

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 EndUpdate procedure applies all the pending changes. To postpone the control’s content changes call the BeginUpdate procedure.

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

See Also