Programming
89
TPI-PRO Total Presentation Interface - Pro Edition
"^" Button Commands (Cont.)
^BDO
Set the button
draw order.
Determines what order each layer of the button is drawn.
Syntax:
"'^BDO-<vt addr range>,<button states range>,<1-5><1-5><1-5><1-
5><1-5>'"
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).
layer assignments = 1 - Fill Layer
2 - Image Layer
3 - Icon Layer
4 - Text Layer
5 - Border Layer
Note: The layer assignments are from bottom to top. The default draw order is
12345.
Example:
SEND_COMMAND Panel,"'^BDO-530,1&2,51432'"
Sets the button’s variable text 530 ON/OFF state draw order (from bottom to top) to
Border, Fill, Text, Icon, and Image.
Example 2:
SEND_COMMAND Panel,"'^BDO-1,0,12345'"
Sets all states of a button back to its default drawing order.
^BFB
Set the feedback
type of the button.
This command only works on General-type buttons.
Syntax:
"'^BFB-<vt addr range>,<feedback type>'"
Variable:
variable text address range = 1 - 4000.
feedback type = (None, Channel, Invert, On (Always on), Momentary, and Blink).
Example:
SEND_COMMAND Panel,"'^BFB-500,Momentary'"
Sets the Feedback type of the button to 'Momentary'.