User Tools

Site Tools




variable = MenuCheck( index, touchX, touchY)

variable Variable to which the results will be stored (1 = touched, 0 = not touched)
index Menu index number
touchX X coordinate of touch
touchY Y coordinate of touch

Use this function to determine if a menu button has been touched. touchX and touchY are the x and y coordinates of where the user touched the screen.

If the coordinates of the touch lie within the area of the button, 1 is returned, otherwise 0 is returned.

If Menucheck(0,TX1,TY1) = 1 Then
  Menureverse 0
  Beep 18,180
End If

Go CUBLOC home

cubloc/menucheck/index.txt · Last modified: 2016/07/17 21:03 by COMFILE Technology