Argox PA-20 Basic Programming Manual Manuel d'utilisateur Page 65

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 143
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 64
PT-Basic Programming Manual Ver. 1.00 64/143
CURSOR_Y
Purpose
To get the y coordinate of the current cursor position in the
activated TextBlock.
Syntax
Y% = CURSOR_Y
Example
Y% = CURSOR_Y
Description
Y% is an integer variable to be assigned to the Y coordinate
of the current cursor position.
LOCATE
Purpose
To move the cursor to a specified location in the activated
TextBlock.
Syntax
LOCATE X% , Y%
Example
LOCATE 0,0
LOCATE 2,3
Description
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.
FILL_RECT
Purpose
To fill a rectangular area in the activated TextBlock with a
user defined color.
Syntax
FILL_RECT(color% , left% , top% , width% , height%)
Example
FILL_RECT(65280,100,100,100,100) „green rectangular
area
Description
Several the argument as follows:
color%
Fill color choice.
left %
Fill form the start point of X-axis (pixel).
top %
Fill form the start point of Y-axis (pixel).
width%
Fill the width form the start point (pixel).
height%
Fill the high form the start point (pixel).
Vue de la page 64
1 2 ... 60 61 62 63 64 65 66 67 68 69 70 ... 142 143

Commentaires sur ces manuels

Pas de commentaire