Purpose | With SetCursor you can set the cursor into a certain input field, into a table cell or on a position in a list. |
Examples |
SetCursor
F[Name] SetCursor cell[Table,Material,5] SetCursor (4,1) |
Format |
SetCursor
F[fieldname] Sets the cursor into the field.
SetCursor
cell[table,column,row] SetCursor
(row,col) SetCursor
V[name] |
Options | Offset=x The cursor will be positioned x spaces from the left border within the field (or table cell). |
Tips & Tricks |
SetCursor does not
currently allow you to put the focus onto your own pushbutton. But you
can use its coordinates in round(!) brackets. In this case, GuiXT does
not check the existence of an entry field at this position. Example:
if V[xx_status=1] SetCursor (10,1) endif if V[xx_status=2]SetCursor (12,1) endif if V[xx_status=3]SetCursor (14,1) endif (You set the xx_status in your InputScript.) |
Components | GuiXT |