Argox PA-20 Basic Programming Manual Instrukcja Użytkownika Strona 71

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 143
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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).
Przeglądanie stron 70
1 2 ... 66 67 68 69 70 71 72 73 74 75 76 ... 142 143

Komentarze do niniejszej Instrukcji

Brak uwag