IDLgrTextEdit::MoveCursor

The IDLgrTextEdit::MoveCursor procedure method moves the cursor one space in the direction indicated by the direction argument. See Character Indices in Text Strings for more information.

Syntax

Obj->[IDLgrTextEdit::]MoveCursor, Window [, DIRECTION={0 | 1 | 2 | 3}][, /SELECT]

Arguments

Window

An object reference to the IDLgrWindow object in which the text appears.

Keywords

DIRECTION

Set this keyword to specify the direction the cursor moves. Possible values are:

SELECT

If set, this keyword moves the cursor and selects the text in the given direction. Otherwise, it moves the cursor and sets the selection length to zero. (See the SELECTION_LENGTH property of the IDLgrText object for more information.)

Example

See IDLgrTextEdit::Delete.

Version History

7.0.6

Introduced