CipherLab 8 Series User Manual page 151

Hide thumbs Also See for 8 Series:
Table of Contents

Advertisement

SET_SCREENITEMS
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.
MODE%
0
1
"total_item%" is an integer variable, indicating the amount of items.
"item$" is a string variable, containing the size information of items.
ITEM$
x%, y%
size_x%
size_y%
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
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, y
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)
Meaning
ITEM_NORMAL (A touched item will be displayed normally.)
ITEM_REVERSE (A touched item will be displayed in a reverse
color.)
User needs to allocate a string variable to store the size information of each
item.
Meaning
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
Chapter 4
BASIC Commands
8500
8500
139

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 8 Series and is the answer not in the manual?

This manual is also suitable for:

83008000840087008200

Table of Contents