# SetCursor()
| Valid For | #HMI |
|---|---|
| Applies To | HMI430, HMI700 |
This function positions the cursor within the current bounds.
Function Prototype
#HMI SetCursor(
x:Column,
y:Row )
| Parameter | Option | Description |
|---|---|---|
| x | optional | Where to position the cursor horizontally within the current bounds, may use any of the positioning methods. |
| y | optional | Where to position the cursor vertically within the current bounds, may use any of the positioning methods. |
Description
Allows you to position the cursor within the current bounds as set by SetBounds().
Examples
#HMI SetCursor( x:-2, y:10px )
Position the cursor left 2 characters from the right of the current bounds (based on the current font) and down 10 pixels from the top of the current bounds.
