TextT.setCaretOffset

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

template TextT(TStruct)
bool
setCaretOffset
(
int offset
)

Parameters

offset int

the character offset of the new caret position

Return Value

Type: bool

%TRUE if successful, %FALSE otherwise.

Meta