
Programming
26
Electroluminescent LCD Touch Panels
Shorthand Send_Commands (Cont.)
@CTN
Sets the ON feed-
back text color to
the specified
color.
This only works if the specified background color is not the same as the current color.
Syntax:
"’@CTN’,<variable text address>,<color_number>"
Variables:
variable text address = 1 – 255
color number = See the Colors and Programming Numbers table on page 23.
Example:
SEND_COMMAND TP,"’@CTN’,1,13"
Sets the ON feedback text color to Yellow for variable text button 1.
@IDF
The touch panel
returns its
MS-DOS file
name in a string.
Syntax:
"’@IDF’"
Example:
SEND_COMMAND TP,"’@IDF’"
The touch panel returns its MS-DOS file name in a string.
@IDP
Queries the touch
panel to return a
string with the
TPDesign3
project name.
Syntax:
"’@IDP’"
Example:
SEND_COMMAND TP,"’@IDP’"
The touch panel returns a string that contains its TPDesign3 project name.
@MOU
Sets the serial
mouse type.
Syntax:
"’@MOU’,<touch_type>"
Variables:
touch_type = <Mouse Off> = 0 and <Microsoft Serial Mouse> = 1
Example:
SEND_COMMAND TP,"’@MOU’, 1"
Sets the Microsoft Serial Mouse.
@PPA
Removes all
popup pages from
a specified page.
If no page is specified, the active page is used.
Syntax:
"’@PPA-<page name>’"
Example:
SEND_COMMAND TP, "’@PPA-Main Page’"
If there were several popup pages on ’Main Page’ that are active, sending the previous
command would remove them all from ’Main Page’.
@PPF
Deactivates a
popup page on a
touch panel page.
If a page name is empty the current page is used. If a pop-up page is part of a group, the
whole group is deactivated.
Syntax:
"’@PPF-<popup page name>; <page name>’"
Variables:
popup page name = target popup page name
page name = target touch panel page name
Example:
SEND_COMMAND TP,"’PPF-Laser Disc 2 Transport Control;
Laser Disc Control Page’"
Deactivates the Laser Disc 2 Transport Control popup page on the Laser Disc Control
Page.