139
SET_SCREENITEMS 8500
Purpose To specify the size and display mode of the touchable items.
Syntax SET_SCREENITEMS(mode%, total_item%, item$)
Remarks “mode%”
is an integer variable, indicating the display mode when an item is
touched.
0
1
ITEM_NORMAL (A touched item will be displayed normally.)
ITEM_REVERSE (A touched item will be displayed in a reverse
color.)
“total_item%” is an integer variable, indicating the amount of items.
“item$” is a string variable, containing the size information of items.
User needs to a
llocate a string variable to store the size information of each
item.
x%, y%
size_x%
size_y%
the x, y coordinates of the upper left point of an item
the width of an item, in dots
the height of an item, in dots
The pattern of a touched item
is designed by using SHOW_IMAGE. It may be a
graphic icon, button or key.
Example
ITEMSTR$ = CHR$(5) + CHR$(125) + CHR$(70) + CHR$(20) + CHR$(13)
ITEMSTR$ = ITEMSTR$ + CHR$(85) + CHR$(125) + CHR$(70) + CHR$(20) + CHR$(13)
SET_SCREENITEMS(1, 2, ITEMSTR$)
See Also SHOW_IMAGE
SET_SIGNAREA 8500
Purpose To define a signature capture area.
Syntax SET_SIGNAREA(UppLeft_x%, UppLeft_y%, LowRight_x%, LowRight_y%)
Remarks “UppLeft_x%” and “UppLeft_y%” are integer variables, indicating the x,
coordinates of the upper left point of an area.
“LowRight_x%” and “LowRight_y%”
are integer variables, indicating the x, y
coordinates of the lower right point of an area.
Note that signature capture is only valid when the writing doesn't exceed the
specified area.
Once the signature capture area is defined, the user may use
the stylus to freely write or draw on the touch screen.
Example
SET_SIGNAREA(8, 8, 150, 100)