Programming
80
Modero G4 Touch Panels - Configuration and Programming
"^" Button Commands (Cont.)
^TEC
Set the text effect color for the specified addresses/states to the specified color. The Text Effect is
specified by name and can be found in TPD4. You can also assign the color by name or RGB value
(RRGGBB or RRGGBBAA).
Syntax:
"'^TEC-<vt addr range>,<button states range>,<color value>'"
Variables:
variable text address range = 1 - 4000.
button states range = 1 - 256 for multi-state buttons (0 = All states, for General buttons, 1 = Off
state and 2 = On state).
color value = Refer to the RGB Values for all 88 Basic Colors table on page 61.
Example:
SEND_COMMAND Panel,"'^TEC-500.504&510.515,1&2,12'"
Sets the text effect color to Very Light Yellow on buttons with variable text 500-504 and 510-515.
^TEF
Set the text effect. The Text Effect is specified by name and can be found in TPD4.
Syntax:
"'^TEF-<vt addr range>,<button states range>,<text effect name>'"
Variables:
variable text address range = 1 - 4000.
button states range = 1 - 256 for multi-state buttons (0 = All states, for General buttons, 1 = Off
state and 2 = On state).
text effect name = Refer to the Text Effects table on page 81 for a listing of text effect names.
Example:
SEND_COMMAND Panel,"'^TEF-500.504&510.515,1&2,Soft Drop Shadow 3'"
Sets the text effect to Soft Drop Shadow 3 for the button with variable text range 500-504 and 510-
515.
^TOP
Enables/disables touch output to Master. If enabled, Press/Move/Release events are sent to the
Master as string events.
Syntax:
"'^TOP-<state>'"
Variables:
<state> = 0(disable), 1(presses/releases), 2(moves), 3(press/move/release)
Note: Move should be used with caution. This setting can generate a significant amount of traffic to
the master depending on user interaction.
Example:
"'^TOP-1'"
Example Response:
"String Event: Text: Press,320,480"
Example Response:
"String Event: Text: Release,320,480"
^TXT
Assigns a Non-Unicode text string to those buttons with a defined address range..
Syntax:
"'^TXT-<vt addr range>,<button states range>,<new text>'"
Variables:
variable text address range = 1 - 4000.
button states range = 1 - 256 for multi-state buttons (0 = All states, for General buttons, 1 = Off
state and 2 = On state).
new text = 1 - 50 ASCII characters.
Example:
SEND_COMMAND Panel,"'^TXT-500.504&510.515,1&2,Test Only'"
Sets the On and Off state text for buttons with the variable text ranges of 500-504 & 510-515.