Shorthand variable text commands (cont.)
Command | Description |
|
|
"'@ICO',<variable text address>,<icon>"
Assign an icon to a button. The icon files are imported into the TPDesign 3 software program, and their numbers are assigned by the Touch Panel during the download process.
<variable text address> = 1 - 255
<icon file number> = 1 - 255
Example:
SEND_COMMAND TP,'"'@ICO',16,12"
Adds icon 12 on button 16.
"'@BMP',<variable text address>,'<bitmap>'"
"'@TXT',<variable text address>,'<text>'"
Add a bitmap file to a button. The bitmap files are imported into the TPDesign 3 software program, and their numbers are assigned by the Touch Panel during the download process.
<variable text address> = 1 - 255
<bitmap> = Bitmap
'%P',<bitmap> = Bitmap filename
Example:
SEND_COMMAND TP, "'@BMP',85,'Bitmap1'"
Adds the Bitmap1 file to button 85.
Add text on a button. Use the character to display text on multiple lines.
<variable text address> = 1 - 255
<button text> = Enter button text to appear on button Example:
SEND_COMMAND TP, "'@TXT',2,'VCRPLAY'"
Sets the VCR and PLAY text on variable button 2. The character places VCR above PLAY on the button.
Color | AXCESS Programming | 139 |