Argox PA-20 Basic Programming Manual Manuale Utente Pagina 71

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 143
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 70
PT-Basic Programming Manual Ver. 1.00 70/143
3.14.1 TextBlock commands
DEFINETEXTBLOCK_COLOR
Purpose
To define the TextBlock setting and the background using default
background color or user defined color.
Syntax
A%=DEFINETEXTBLOCK_COLOR
(BlockNo% , FontID% , BGType% ,Color%, Column%, Row%,
XPos%, YPos%)
Example
Orange%=36095
A%=DEFINETEXTBLOCK_COLOR(1,0,1,Orange%,6,5,10,30)
A%=SETTEXTBLOCK(1,0)
Description
A% is an integer variable to be assigned to the result.
A%
Meaning
0
Define TextBlock fail
1
Define TextBlock OK
Several key arguments as below:
BlockNo%
TextBlock number(1~15)
FontID%
Defined Font:
0~1: system font
2~9: user font.
BGType%
If 0 then using default background.
If 1 then using user defined background.
Color%
Background color
Column%
TextBlock column number.
Row%
TextBlock row number.
XPos%
TextBlock left-top X position in pixel
(0~239).
Vedere la pagina 70
1 2 ... 66 67 68 69 70 71 72 73 74 75 76 ... 142 143

Commenti su questo manuale

Nessun commento