TOUCH REF

Compatible with:
DOS Maximite CMM MM150 MM170 MM+ MMX Picromite ArmiteL4 Armite F4 ArmiteH7 Picomite CMM2

Syntax:

TOUCH(X) 
TOUCH(Y)

TOUCH(DOWN)
TOUCH(UP)
TOUCH(LASTX)
TOUCH(LASTY)
TOUCH(REF)
TOUCH(LASTREF)

Description:

TOUCH(X) TOUCH(Y)
Will return the X or Y coordinate of the location currently touched on an LCD panel. If the screen is not being touched the function will return -1.

Micromite Plus and above (With touch screen):

TOUCH(DOWN)
 Will return true if the screen is currently being touched.

TOUCH(UP) 
Will return true if the screen is currently NOT being touched.

TOUCH(LASTX) 
Will return the X coordinate of the last location that was touched.

TOUCH(LASTY) 
Will return the Y coordinate of the last location that was touched.

TOUCH(REF) 
Will return the reference number of the control that is currently being touched or zero if no control is being touched.

TOUCH(LASTREF) 
Will return the reference number of the last control that was touched.

 

Last edited: 05 October, 2020