Programming
47
6" Color Video Touch Panels
Variable Text Send_Commands (Cont.)
!C
Sets the border,
font, and text in
one command.
Syntax:
"’!C’,<variable text address>,<border style>,<font
size>,’<new button text>’"
Variables:
variable text address = 1 - 255
border style = See the Border Styles and Programming Numbers table on page 39.
font size = See the Font Styles and Programming Numbers table on page 39.
new button text = Enter button text to appear on the button.
Example:
SEND_COMMAND TP,"’!C’,1,6,6,’VCR PLAY’"
Sets the title on variable text button one to VCR PLAY using a hollow medium font, and
changes the border attribute to double rounded.
!F
Shorthand ver-
sion of
’
FONT
’
command.
Syntax:
"’!F’,<variable text address>,’<font size>’"
Variables:
variable text address = 1 - 255
font size = See the Font Styles and Programming Numbers table on page 39.
Example:
SEND_COMMAND TP,"’!F’,’1,’6’"
Changes the font on the variable text button one to hollow medium.
FONT
Changes the font
size (or style) of
the text in a spe-
cific button.
Syntax:
"
’FONT<variable text address>-<font size>’"
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 39 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 ver-
sion 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 39.
Example:
SEND_COMMAND TP,"’!I’,1,’6’"
Changes the border style on the variable text button one to double rounded.
ICON
Changes the bor-
der style of a spe-
cific 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 39.
Example:
SEND_COMMAND TP,"’ICON25-6’"
Changes the border style on the variable text button 25 to double-rounded.