Syntax:"'^BMF-<vt addr range>,<button states range>,<data>'"
Variables:
variable text address char array = 1 - 4000.
button states range = 1 - 256 for multi-state buttons (0 = All states, for General buttons
1 = Off state and 2 = On state).
level range = 1 - 600 (level value is 1 - 65535).
data:
’%R, , , ’ = Set rectangle.
’%B’ = Set the border style name.
’%B’,<border 0-27,40,41> = Set the borer style number.
’%DO<1-5><1-5><1-5><1-5><1-5> = Set the draw order. Listed from bottom to top.
’%F’,<font 1-8,10,11,20-29,32-xx> = Set the font.
’%F<font 01-08,10,11,20-29,32-xx>’ = Set the font.
’%MI’ = Set the mask image.
’%R = Sets button location and also resizes the button. Takes four parameters: left, top,
right, bottom.
’%T’ = Set the text using ASCII characters (empty is clear).
’%P’ = Set the picture/bitmap filename (empty is clear).
’%I’,<icon 01-9900, 0-clear>’ = Set the icon using values of 01 - 9900 (icon numbers are
assigned in the TPDesign4 Resource Manager tab - Slots section).
’%I<icon 01-9900, 0-clear>’ = Set the icon using values of 01 - 9900 (icon numbers are
assigned in the TPDesign4 Resource Manager tab - Slots section).
’%J’,<alignment of text 1-9> = As shown the following telephone keypad alignment
chart:01 2 34 5 6 Zero can be used for an absolute position7 8 9
’%JT<alignment of text 0-9>’ = As shown the above telephone keypad alignment chart,
BUT the 0 (zero) is absolute and followed by ’,,’
’%JB<alignment of bitmap/picture 0-9>’ = As shown the above telephone keypad
alignment chart BUT the 0 (zero) is absolute and followed by ’,,’
’%JI<alignment of icon 0-9>’ = As shown the above telephone keypad alignment chart,
BUT the 0 (zero) is absolute and followed by ’,,’
’%CF’ = Set Fill Color.
’%CB’ = Set Border Color.
’%CT’ = Set Text Color.
’%SW<1 or 0>’ = Show/hide a button.
’%SO’ = Set the button sound.
’%EN<1 or 0>’ = Enable/disable a button.
’%WW<1 or 0>’ = Word wrap ON/OFF.
’%GH’ = Set the bargraph upper limit.
’%GL’ = Set the bargraph lower limit.
’%GN’ = Set the bargraph slider name/Joystick cursor name.
’%GC’ = Set the bargraph slider color/Joystick cursor color.
’%GI’ = Set the bargraph invert/noninvert or joystick coordinate
(0,1,2,3). ^GIV section on page 125 more information.
’%GU’ = Set the bargraph ramp up time in intervals of 1/10 second.
’%GD’ = Set the bargraph ramp down time in 1/10 second.
’%GG = Set the bargraph drag increment.
’%VI<video ON/OFF>’ = Set the Video either ON (value=1) or OFF (value=0).
’%OT’ = Set the Feedback (Output) Type to one of the following:
None, Channel,Invert, ON (Always ON), Momentary, or Blink.
’%SM’ = Submit a text for text area button.
’%SF<1 or 0>’ = Set the focus for text area button.
’%OP<0-255>’ = Set the button opacity to either Invisible (value=0) or Opaque
(value=255).
’%OP#<00-FF>’ = Set the button opacity to either Invisible (value=00) or Opaque
(value=FF).
’%UN’ = Set the Unicode text.
’%LN<0-240>’ = Set the lines of video being removed.
’%EF’ = Set the text effect.
’%EC’ = Set the text effect color.
’%ML’ = Set the maximum length of a text area.
’%MK’ = Set the input mask of a text area.
’%VL<0-1>’ = Log-On/Log-Off the computer control connection
’%VN’ = Set network connection name.
’%VP’ = Set the network connection password.
Example:SEND_COMMAND Panel,"'^BMF-500,1,%B10%CFRed%CB Blue %CTBlack%Ptest.png'"
Sets the button OFF state as well as the Border, Fill Color, Border Color, Text Color, and
Bitmap.
Syntax:
"'^BMF-<vt addr range>,<button states range>,<data>'"
Variables: variable text address char array = 1 - 4000. button states range = 1 - 256 for multi-state buttons (0 = All states, for General buttons 1 = Off state and 2 = On state). level range = 1 - 600 (level value is 1 - 65535).
data: ’%R, , , ’ = Set rectangle.
’%B’ = Set the border style name.
’%B’,<border 0-27,40,41> = Set the borer style number.
’%DO<1-5><1-5><1-5><1-5><1-5> = Set the draw order. Listed from bottom to top.
’%F’,<font 1-8,10,11,20-29,32-xx> = Set the font.
’%F<font 01-08,10,11,20-29,32-xx>’ = Set the font.
’%MI’ = Set the mask image.
’%R = Sets button location and also resizes the button. Takes four parameters: left, top,
right, bottom.
’%T’ = Set the text using ASCII characters (empty is clear).
’%P’ = Set the picture/bitmap filename (empty is clear).
’%I’,<icon 01-9900, 0-clear>’ = Set the icon using values of 01 - 9900 (icon numbers are
assigned in the TPDesign4 Resource Manager tab - Slots section).
’%I<icon 01-9900, 0-clear>’ = Set the icon using values of 01 - 9900 (icon numbers are
assigned in the TPDesign4 Resource Manager tab - Slots section).
’%J’,<alignment of text 1-9> = As shown the following telephone keypad alignment
chart:
0
1 2 3
4 5 6 Zero can be used for an absolute position
7 8 9
’%JT<alignment of text 0-9>’ = As shown the above telephone keypad alignment chart, BUT the 0 (zero) is absolute and followed by ’,,’
’%JB<alignment of bitmap/picture 0-9>’ = As shown the above telephone keypad
alignment chart BUT the 0 (zero) is absolute and followed by ’,,’
’%JI<alignment of icon 0-9>’ = As shown the above telephone keypad alignment chart,
BUT the 0 (zero) is absolute and followed by ’,,’
’%CF’ = Set Fill Color.
’%CB’ = Set Border Color.
’%CT’ = Set Text Color.
’%SW<1 or 0>’ = Show/hide a button.
’%SO’ = Set the button sound.
’%EN<1 or 0>’ = Enable/disable a button.
’%WW<1 or 0>’ = Word wrap ON/OFF.
’%GH’ = Set the bargraph upper limit.
’%GL’ = Set the bargraph lower limit.
’%GN’ = Set the bargraph slider name/Joystick cursor name.
’%GC’ = Set the bargraph slider color/Joystick cursor color.
’%GI’ = Set the bargraph invert/noninvert or joystick coordinate
(0,1,2,3). ^GIV section on page 125 more information.
’%GU’ = Set the bargraph ramp up time in intervals of 1/10 second.
’%GD’ = Set the bargraph ramp down time in 1/10 second.
’%GG = Set the bargraph drag increment.
’%VI<video ON/OFF>’ = Set the Video either ON (value=1) or OFF (value=0).
’%OT’ = Set the Feedback (Output) Type to one of the following:
None, Channel,Invert, ON (Always ON), Momentary, or Blink.
’%SM’ = Submit a text for text area button.
’%SF<1 or 0>’ = Set the focus for text area button.
’%OP<0-255>’ = Set the button opacity to either Invisible (value=0) or Opaque
(value=255).
’%OP#<00-FF>’ = Set the button opacity to either Invisible (value=00) or Opaque
(value=FF).
’%UN’ = Set the Unicode text.
’%LN<0-240>’ = Set the lines of video being removed.
’%EF’ = Set the text effect.
’%EC’ = Set the text effect color.
’%ML’ = Set the maximum length of a text area.
’%MK’ = Set the input mask of a text area.
’%VL<0-1>’ = Log-On/Log-Off the computer control connection
’%VN’ = Set network connection name.
’%VP’ = Set the network connection password.
Example:
SEND_COMMAND Panel,"'^BMF-500,1,%B10%CFRed%CB Blue %CTBlack%Ptest.png'"
Sets the button OFF state as well as the Border, Fill Color, Border Color, Text Color, and Bitmap.