![](/images/backgrounds/158841/bg5d.png)
Programming
87
TPI-PRO Total Presentation Interface - Pro Edition
"^" Button Commands (Cont.)
^BAT
Append
non-unicode text.
Syntax:
"'^BAT-<vt addr range>,<button states range>,<new text>'"
Variable:
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,"'^BAT-520,1,Enter City'"
Appends the text 'Enter City' to the button’s OFF state.
^BAU
Append unicode
text.
Same format as ^UNI.
Syntax:
"'^BAU-<vt addr range>,<button states range>,<unicode text>'"
Variable:
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).
unicode text = 1 - 50 ASCII characters. Unicode characters must be entered in Hex
format.
Example:
SEND_COMMAND Panel,"'^BAU-520,1,00770062'"
Appends Unicode text '00770062' to the button’s OFF state.
^BCB
Set the border
color to the
specified color.
Only if the specified border color is not the same as the current color.
Note: Color can be assigned by color name (without spaces), number or R,G, B value
(RRGGBB or RRGGBBAA).
Syntax:
"'^BCB-<vt addr range>,<button states range>,<color value>'"
Variable:
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 81 for more
information.
Example:
SEND_COMMAND Panel,"'^BCB-500.504&510,1,12'"
Sets the Off state border color to 12 (Yellow). Colors can be set by Color Num bers, Color
name, RGB alpha colors (RRGGBBAA) and RG & B color values (RRGGBB). Refer to the
RGB Values for all 88 Basic Colors table on page 81.