TSRichViewEdit.ReturnToNote

<< Click to display table of contents >>

TSRichViewEdit.ReturnToNote

Ends editing a note's Document and moves the caret to the location of this note in the main document.

function ReturnToNote(SmoothScroll: Boolean = False): Boolean;

This method does nothing if a note is not being edited (i.e. when ActiveEditor<>RVNote).

When the caret is moved, the main document becomes active (ActiveEditor becomes equal to RichViewEdit).

If SmoothScroll = True, a smooth scrolling effect is applied.

Return value:

True if the caret was moved successfully

See also:

StartEditNote

Footnotes and endnotes