Skip to main content

IdxRichEditSubDocument.EndUpdate Method

Applies all changes made after a BeginUpdate procedure call and unlocks document updates.

Declaration

procedure EndUpdate;

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