Argox PA-20 Basic Programming Manual Uživatelský manuál Strana 75

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 143
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 74
PT-Basic Programming Manual Ver. 1.00 74/143
TEXTBLOCK_SETBGIMAGE
Purpose:
To set default background image for bitmap file.
Syntax:
A%= TEXTBLOCK_SETBGIMAGE(FilePath$)
Example:
R%=TEXTBLOCK_SETBGIMAGE("d:\program\test.bmp")
Description:
A% is an integer variable to be assigned to the result.
A%
Meaning
0
Setting fail
1
Setting OK
FilePath $ is a string variable, indicating the bitmap file path.
After executing this command, all TextBlock will be reset.
TEXTBLOCK_MODE
Purpose:
To set or get TextBlock mode for single or multi layer.
Syntax:
TEXTBLOCK_MODE = A%
X% = TEXTBLOCK_MODE
Example:
TEXTBLOCK_MODE=1
…
PRINT “TEXTBLOCK_MODE:”; TEXTBLOCK_MODE
Description:
A% is an integer variable to be assigned as the TextBlock
mode..
X% is an integer variable indicating the TextBlock mode.
A% or X%
Meaning
0
single layer
1
multi layer
SWITCHTEXTBLOCK
Purpose:
To switch TextBlock.
Syntax:
A%=SWITCHTEXTBLOCK(BlockNo %)
Example:
A%=SWITCHTEXTBLOCK(1)
Description:
A% is an integer variable to be assigned to the result.
A%
Meaning
0
Switch fail.
1
Switch success.
BlockNo% is an integer variable in the range from 0 to 15.
Zobrazit stránku 74
1 2 ... 70 71 72 73 74 75 76 77 78 79 80 ... 142 143

Komentáře k této Příručce

Žádné komentáře