138
CipherLab BASIC Programming Part I
DISABLE_TOUCHSCREEN 8500
Purpose To disable the touch screen.
Syntax DISABLE_TOUCHSCREEN
Remarks To restart the touch screen function, ENABLE_TOUCHSCREEN must be called.
Example
DISABLE_TOUCHSCREEN
ENABLE_TOUCHSCREEN 8500
Purpose To enable the touch screen.
Syntax ENABLE_TOUCHSCREEN
Remarks The touch screen won't work until it is initialized by this command.
Example
GET_SCREENITEM 8500
Purpose To detect and return an item number when an item is selected.
Syntax A% = GET_SCREENITEM
Remarks “A%” is an integer variable assigned to the result.
The number of a selected item will be returned.
When no item is detected, it will return 0.
This function has to be called constantly to maintain its functionality.
Example
TouchItem% = GET_SCREENITEM