Skip to main content

TdxSpreadSheetDefinedNames.BeginUpdate Method

Stops all redraw operations in a spreadsheet control until an EndUpdate call.

Declaration

procedure BeginUpdate;

Remarks

Every time the defined name list changes, the spreadsheet control redraws its content to reflect these changes. You can enclose the code that performs multiple defined name changes between BeginUpdate and EndUpdate procedure calls to improve performance.

A BeginUpdate call disables all spreadsheet content updates until a subsequent EndUpdate call applies all pending changes.

Note

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

See Also