
Purpose
Κ
To get the y coordinate of the current TextBlock position.
Syntax
Κ
A% =GETTEXTBLOCKCUR_Y(BlockNo %)
Example
Κ
PRINT "Y=",GETTEXTBLOCKCUR_Y(1)
Description
Κ
A%
is an integer variable to be assigned to the result.
BlockNo%
is an integer variable in the range from 0 to 15.
Purpose
Κ
To set specific TextBlock as active TextBlock and set position.
Syntax
Κ
SETTEXTBLOCKCUR(BlockNo %, Column%, Row%)
Example
Κ
SETTEXTBLOCKCUR(0,0,0)
Description
Κ
Several key arguments as below:
BlockNo%
TextBlock number(0~15)
Column%
TextBlock column number.
Row%
TextBlock row number.
Purpose
Κ
To show or hide TextBlock cursor.
Syntax
Κ
SHOWTEXTBLOCKCURSOR(BlockNo %, Show%, Type%)
Example
Κ
SHOWTEXTBLOCKCURSOR(1,1,1)
Description
Κ
Several key arguments as below:
BlockNo%
TextBlock number(0~15)
Show %
1:Show cursor
0:Hide cursor
Type %
0: Cursor off.
1: Cursor on, and cursor type is a line as _.
2: Cursor on, and cursor type is a line as |.
3: Cursor on, and cursor type is a block as
Ŷ
.
Purpose
Κ
To set default background color.
Syntax
Κ
TEXTBLOCK_SETBGCOLOR(Color%)
Example
Κ
TEXTBLOCK_SETBGCOLOR(16711680) ‘Blue
Description
Κ
Color %
is an integer variable indicating which color you want
to set.
After executing this command, all TextBlock will be reset.
T P C 7 0 3 0
Programming Manual Ver. 1.00
71/131