Skip to main content

IdxRichEditSubDocument.BeginUpdate Method

Stops document redraw operations until an EndUpdate procedure call.

Declaration

procedure BeginUpdate;

Remarks

Every time document content changes, the Rich Edit control redraws the displayed document to reflect the change and records a user action into the action history. Enclose multiple document changes between BeginUpdate and EndUpdate procedure calls to avoid excessive redraw operations and record multiple document content changes as a single user action.

Note

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

See Also