Skip to main content

TdxCustomFlowChart.CancelUpdate Method

Discards all postponed changes and allows the control to repaint its display area.

Declaration

procedure CancelUpdate;

Remarks

The flow chart control allows users to add or remove chart elements and customize their appearance and behavior. Each time you modify chart settings, the control repaints its area to reflect changes. To prevent the control from redundant repaint operations and apply all changes at once, call the BeginUpdate procedure beforehand, and call EndUpdate after you made changes. The CancelUpdate procedure is particularly useful if you need to discard the pending changes following a BeginUpdate call.

Ensure that a CancelUpdate or EndUpdate call follows every BeginUpdate call, even if an exception occurs.

See Also