CaretPosition Property (AWTTextComponent)

Class

AWTTextComponent class

Action

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

Data Type

INTEGER

Access

Read only

Examples

INTEGER iCaretPosition = TextComponent.CaretPosition