Back to Devexpress

IdxRichEditSubDocument.BeginUpdate Method

vcl-dxrichedit-dot-nativeapi-dot-idxricheditsubdocument-ad049726.md

latest1.1 KB
Original Source

IdxRichEditSubDocument.BeginUpdate Method

Stops document redraw operations until an EndUpdate procedure call.

Declaration

delphi
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

IdxRichEditSubDocument Interface

IdxRichEditSubDocument Members

dxRichEdit.NativeApi Unit