Programming
115
MVP-5100/5150 5.2" Modero Viewpoint Touch Panels
"^" Button Commands (Cont.)
^BCF
Set the fill color to
the specified
color.
Only if
the specified fill 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:
"'^BCF-<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 109 for more
information.
Example:
SEND_COMMAND Panel,"'^BCF-500.504&510.515,1,12'"
SEND_COMMAND Panel,"'^BCF-500.504&510.515,1,Yellow'"
SEND_COMMAND Panel,"'^BCF-500.504&510.515,1,#F4EC0A63''"
SEND_COMMAND Panel,"'^BCF-500.504&510.515,1,#F4EC0A'"
Sets the Off state fill color by color number. Colors can be set by Color Numbers, Color
name, R,G,B,alpha colors (RRGGBBAA) and R, G & B colors values (RRGGBB).
^BCT
Set the text color
to the specified
color.
Only if
the specified text 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:
"'^BCT-<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 109 for more
information.
Example:
SEND_COMMAND Panel,"'^BCT-500.504&510,1,12'"
Sets the Off state border color to 12 (Yellow). Colors can be set by Color Numbers, Color
name, R,G,B,alpha colors (RRGGBBAA) and R, G & B colors values (RRGGBB).
^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 = Fill Layer = 1
Image Layer = 2
Icon Layer = 3
Text Layer = 4
Border Layer = 5
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.
Содержание Modero ViewPoint MVP-5100
Страница 4: ......
Страница 12: ...viii Document Name Here Table of Contents ...
Страница 22: ...Introduction 10 MVP 5100 5150 5 2 Modero Viewpoint Touch Panels ...
Страница 34: ...Accessories 22 MVP 5100 5150 5 2 Modero Viewpoint Touch Panels ...
Страница 100: ...Protected Setup Pages 88 MVP 5100 5150 5 2 Modero Viewpoint Touch Panels ...
Страница 114: ...Upgrading Firmware 102 MVP 5100 5150 5 2 Modero Viewpoint Touch Panels ...
Страница 160: ...Programming 148 MVP 5100 5150 5 2 Modero Viewpoint Touch Panels ...
Страница 168: ...Battery Life and Replacement 156 MVP 5100 5150 5 2 Modero Viewpoint Touch Panels ...
Страница 176: ...Appendix A Text Formatting 164 MVP 5100 5150 5 2 Modero Viewpoint Touch Panels ...
Страница 184: ...Appendix B Wireless Technology 172 MVP 5100 5150 5 2 Modero Viewpoint Touch Panels ...
Страница 188: ...Appendix C Troubleshooting 176 MVP 5100 5150 5 2 Modero Viewpoint Touch Panels ...
Страница 189: ...Appendix 177 MVP 5100 5150 Modero Viewpoint Touch Panels ...