CARET

IUP - Portable User Interface

CARET

Places the insertion point in a text-edition field. The first line and the first column begin at 1.

Value (Multiline)

String with the "line,column" format, where line and column are integer numbers corresponding to the caret's position.

Default: "1,1" (first character in the first line).

Value (Text,List)

String in the "pos" format. Pos is an integer number corresponding to the caret's position.

Default: "1" (first character).

Note

When the value set for the line is greater than the number of lines, the caret is placed after the last line (only multiline). When the value set for the column is greater than the number of characters in a line, the caret is placed after the last character in the line.

Affects

IupList, IupMultiline, IupText