AMX Color Active-Matrix LCD Instruction Manual page 150

Color active-matrix lcd mini-touch panel firmware version g3 or higher
Hide thumbs Also See for Color Active-Matrix LCD:
Table of Contents

Advertisement

Color Active-Matrix LCD Mini-Touch Panels
Shorthand variable text commands (Cont.)
Command
"'@BMP',<variable text
address>,'<bitmap>'"
"'@BOR',<variable text
address>,<border style>"
"'@ENA',<variable text
address>,<button state
on/off>"
"'@FON',<variable text
address>,<font style>"
"'@ICO',<variable text
address>,<icon>"
Description
Adds a bitmap file to a button. The bitmap files are imported
into the TPDesign3 software program, and their numbers are
assigned by the touch panel during the download process.
<variable text address> = 1 - 255
<bitmap> = Bitmap
Example:
SEND_COMMAND TP, "'@BMP',85,'Bitmap1'"
Adds the Bitmap1 file to button 85.
Set the border style on a button.
<variable text address> = 1 - 255
<border style> = See Figure 205
Example:
SEND_COMMAND TP, "'@BOR',65 ,11"
Sets the border style to Double shadow on button 65.
Set a specific button's active state to On or Off.
<variable text address> = 1 - 255
<1> = button off and <0> = button on
Example:
SEND_COMMAND TP,"'@ENA',128,1"
Sets the state for button 128 on.
Sets the text font on a button.
<variable text address> = 1 - 255
<font style> = See Figure 204
Example:
SEND_COMMAND TP, "'@FON',56,32"
Sets the text on button 56 to variable font style 32.
Assigns an icon to a button. The icon files are imported into the
TPDesign3 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.
AXCESS Programming
143

Advertisement

Table of Contents
loading

Table of Contents