Argox PA-20 Basic Programming Manual Manual do Utilizador Página 65

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 143
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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).
Vista de página 64
1 2 ... 60 61 62 63 64 65 66 67 68 69 70 ... 142 143

Comentários a estes Manuais

Sem comentários