Skip to content

ScrollCaret - DFBaseTextEdit

Scrolls caret into view

Type: Procedure

Syntax

Procedure ScrollCaret

Call Example

Send ScrollCaret

Description

Scrolls caret into view. If the user has scrolled up or down in the control so that the caret is no longer visible, ScrollCaret will scroll the control until the caret is in the viewable area of the control.

Sample

This sample scrolls the caret into the viewable area of the oTextEdit1 control

send ScrollCaret of oTextEdit1