Programming
28
8.5" Black and White Touch Panels
Shorthand Send_Commands (Cont.)
@CBN
Sets the ON feed-
back border color
to the specified
color.
This works only if the specified background color is not the same as the current color
.
Syntax:
"’@CBN’,<variable text address>,<color_number>"
Variables:
variable text address = 1 - 255
color number = See the Colors and Programming Numbers table on page 26.
Example:
SEND_COMMAND TP,"’@CBN’,2,87"
Sets the ON feedback border color to Black for variable text button 2.
@CFF
Sets the OFF
feedback fill color
to the specified
color.
This only works if the specified background color is not the same as the current color
.
Syntax:
"’@CFF’,<variable text address>,<color_number>"
Variables:
variable text address = 1 - 255
color number = See the Colors and Programming Numbers table on page 26.
Example:
SEND_COMMAND TP,"’@CFF’,1,72"
Sets the OFF feedback fill color to White for variable text button 1.
@CFN
Sets the ON feed-
back fill color to
the specified
color.
This only works if the specified background color is not the same as the current color
.
Syntax:
"’@CFN’,<variable text address>,<color_number>"
Variables:
variable text address = 1 - 255
color number = See the Colors and Programming Numbers table on page 26.
Example:
SEND_COMMAND TP,"’@CFN’,1,87"
Sets the ON feedback fill color to Black for variable text button 1.
@CPG
Sets the page with
specified page
name back-
ground color to
the specified
color.
This only works if the new background color is not the same as the current color.
Syntax:
"’@CPG’,<color_number>,’<page name>’"
Variables:
color number = See the Colors and Programming Numbers table on page 26.
page name = 1 – 50 ASCII characters
Example:
SEND_COMMAND TP,"’@CPG’,87,’Main Page’"
Sets the page title to Main Page, and the color to Black.
@CPP
Sets the page with
specified page
name back-
ground color to
the specified
color.
This only works if the specified background color is not the same as the current color.
Syntax:
"’@CPP’,<color_number>,’<pop-up page name>’"
Variables:
color number = See the Colors and Programming Numbers table on page 26.
pop-up page name = 1 – 50 ASCII characters
Example:
SEND_COMMAND TP,"’@CPP’,72,’Audio Page’"
Sets the popup page title to Audio Page, and the color to White.