DarkBASIC Professional Help File

DX11 SET CAPTURE CARET OFFSET

Sets the current input position (of the would-be caret) in the string currently being captured.
Any future captured keystrokes will apply starting from to this position.
If the set position exceeds the size of the input string it will automatically be constrained to the end of the string.

Syntax

    DX11 SET CAPTURE CARET OFFSET offset

Parameters

    offset

> Dword
> The offset from the start of the input string at which to place the input caret.

Returns

This function does not return a value.

See also

INPUT Functions Menu
DX11 Function Categories