TextT.setCaretOffset

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

template TextT(TStruct)
bool
setCaretOffset
(
int offset
)

Parameters

offset int

position

Return Value

Type: bool

%TRUE if success, %FALSE otherwise.

Meta