
PT-Basic Programming Manual Ver. 1.00 70/143
3.14.1 TextBlock commands
To define the TextBlock setting and the background using default
background color or user defined color.
A%=DEFINETEXTBLOCK_COLOR
(BlockNo% , FontID% , BGType% ,Color%, Column%, Row%,
XPos%, YPos%)
Orange%=36095
A%=DEFINETEXTBLOCK_COLOR(1,0,1,Orange%,6,5,10,30)
…
A%=SETTEXTBLOCK(1,0)
…
A% is an integer variable to be assigned to the result.
Several key arguments as below:
Defined Font:
0~1: system font
2~9: user font.
If 0 then using default background.
If 1 then using user defined background.
TextBlock left-top X position in pixel
(0~239).
Comentarios a estos manuales