CaretPosition Property (AWTTextComponent)

Action

Gets the position of the text insertion caret for the text component. The value is zero-based.

Syntax

C#
protected Integer CaretPosition { get; }
VB
'Declaration
Protected Read Property CaretPosition As Integer

Access

Read only.

Examples

VB

Dim caretPosition As Integer = textComponent.CaretPosition