SPLatco Knowledge Base
Valid For#HMI
Applies ToHMI430, HMI700

This function moves the cursor relative to its current position.

Function Prototype
#HMI CursorRel(
x:Horizontal,
y:Vertical )
ParameterOptionDescription
x   mandatory   Amount to move the cursor horizontally, may use any of the positioning methods,  0 means don’t move horizontally.
y   mandatoryAmount to move the cursor vertically, may use any of the positioning methods,  0 means don’t move vertically.
Description

Allows you to move the cursor relative to its current position.

Examples
#HMI CursorRel( x:-2, y:10px )

Moves the cursor left 2 characters (based on the current font) and down 10 pixels.