
PT-Basic Programming Manual Ver. 1.00 64/143
To get the y coordinate of the current cursor position in the
activated TextBlock.
Y% is an integer variable to be assigned to the Y coordinate
of the current cursor position.
To move the cursor to a specified location in the activated
TextBlock.
LOCATE 0,0
…
LOCATE 2,3
…
X% is an integer variable indicating the new X coordinate
position of the cursor.
Y% is an integer variable indicating the new Y coordinate
position of the cursor.
To fill a rectangular area in the activated TextBlock with a
user defined color.
FILL_RECT(color% , left% , top% , width% , height%)
FILL_RECT(65280,100,100,100,100) „green rectangular
area
Several the argument as follows:
Fill form the start point of X-axis (pixel).
Fill form the start point of Y-axis (pixel).
Fill the width form the start point (pixel).
Fill the high form the start point (pixel).
Commentaires sur ces manuels