TSRichViewEdit.ScrollToCaret, ScrollCaretToCenter

Top  Previous  Next

The methods scroll to make the caret visible.

function ScrollToCaret : Boolean;

function ScrollCaretToCenter : Boolean;

ScrollToCaret does nothing if the caret is already completely visible. ScrollCaretToCenter always scrolls.

ScrollToCaret scrolls to show the top of the caret in the middle of the editor. ScrollCaretToCenter scrolls to show the middle of the caret in the middle of the editor.

See also

ScrollToItem


ScaleRichView © trichview.com