SPLat Logo

# CursorRel()

NOTICE: Our web site is being updated, but is currently experiencing extreme slowness due to host issues. Please contact us directly.
NOTICE: SPLat Controls has moved. We are now at 1/85 Brunel Rd, Seaford, 3198. map

# CursorRel()

Valid For #HMI
Applies To HMI430, 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    mandatory Amount 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.