AMX Mouse Guía de usuario Pagina 25

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 36
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 24
e.g. *UP.
This command is used to move the text cursor to the current position of the Mouse (as
read by OSWORD 64): The co-ordinates can then be read using POS and VPOS: Since
these co-ordinates are in text characters, it is not suitable for graphics:
If a window has been defined this command will not return the correct co-ordinates.
To overcome this a VDU 26 (restore default window) must be used.
e:g. 10 MODE 4
20 *POINTER 80
30 *SHOWPOINTER
40 REPEAT
50 *MOVEPOINTER
60 UNTIL NOT INKEY-129
70 *HIDEPOINTER
80 *UPDATE
90 *ICON 32
100 *SHOWPOINTER
110 REPEAT
120 *MOVEPOINTER
130 UNTIL INKEY-129
140 GOTO 40
The above program will allow the Pointer to be moved around: When a button is
pressed icon 32 is drawn at the current position. Note that lines 110-130 wait until the button
is released:
N:B. Before entering this program the Pointer should be switched on by *POINTER
ON and pressing BREAK.
Vista de pagina 24
1 2 ... 20 21 22 23 24 25 26 27 28 29 30 ... 35 36

Comentarios a estos manuales

Sin comentarios