SelStart Property

Top  Previous  Next

Specifies the position of the caret (cursor) within the control.

Syntax

Control.SelStart = nPosition

Parameters

nPosition

Specifies the position of the cursor in the text. A value of 0 moves the cursor to the left of the first character, a value of 1 to the right of the first character. The maximum value is the LEN(Control.Value) which moves the cursor to the end of the text.

Remarks

Applies to: Editbox Control