Programming
61
4" Color Touch Panels with Audio
Variable Text Send_Commands (Cont.)
FONT
Changes the font
size (or style) of
the text in a
specific button.
Syntax:
"
’FONT<variable text address>-<font size/style>’"
Variables:
variable text address = The number of the variable text button (1-255).
font size/style = The size or style of the font (1-255). See the Font Styles and
Programming Numbers table on page 53 for more information.
Example:
SEND_COMMAND TP,"’FONT1-6’"
Changes the font on the variable text button one to hollow medium. Variable fonts start at
a value of 32.
!I
Shorthand
version of
'
ICON
'
command.
Syntax:
"’!I’,<variable text address>,’<border style>’"
Variables:
variable text address = 1 - 255
border style = 0 - 41. See the Border Styles and Programming Numbers table on
page 53.
Example:
SEND_COMMAND TP,"’!I’,1,’6’"
Changes the border style on the variable text button one to double rounded.
ICON
Changes the
border style of a
specific button.
Syntax:
"
’ICON<variable text address>-<border style>’"
Variables:
variable text address = 1 - 255
border style = See the Border Styles and Programming Numbers table on page 53.
Example:
SEND_COMMAND TP,"’ICON25-6’"
Changes the border style on the variable text button 25 to double-rounded.
!T
Shorthand
version of
'
TEXT
'
command.
Syntax:
"’!T’,<variable text address>,’<new button text>’"
Variables:
variable text address = 1 - 255
new button text = 1 - 60 characters
Example:
SEND_COMMAND TP,"’!T’,1,’VCR PLAY’"
Changes the title on variable text button one to VCR PLAY.
TEXT
Enters text on a
button.
Use the | character to display text on multiple lines.
Syntax:
"
’TEXT<variable text address>-<new button text>’"
Variables:
variable text address = 1 - 255
new button text = Enter button text to appear on button.
Example:
SEND_COMMAND TP,"’TEXT2-VCR|PLAY’"
Sets the VCR and PLAY text on variable button 2. The | character places VCR on a text
line above PLAY on the button.