User Tools

Site Tools

한국어

cubloc:menu:index

Menu

variable = Menu(index, coordinate)

variable Variable to store the results (1 = selected, 0 = unselected)
index Menu index number
coordinate Coordinate to check (0=x1, 1=y1, 2=x2, 3=y2)

This function can be used to inspected the coordinates of a given menu button created.

coordinate 0 will read the x coordinate of the top-left corner (x1), 1 will read the y coordinate of the top-left corner (y1), 2 will read the x coordinate of the bottom-right corner (x2), and 3 will read the y coordinate of the bottom-right corner (y2).

If Menu(0,1) < 100 THEN   ' If menu button 0's top is less than 100

Go CUBLOC home

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