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
cubloc/menu/index.txt · Last modified: by 127.0.0.1
