Text.setCaretOffset

Sets the caret (cursor) position to the specified offset.

class Text
int
setCaretOffset
(
int offset
)

Parameters

offset int

position

Return Value

Type: int

TRUE if success, FALSE otherwise.

Meta