Programming
143
10" Modero Touch Panels
"^" Button Commands (Cont.)
^BMF
Set any/all button
parameters by
sending
embedded codes
and data.
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:
’%B<border style>’ = Set the border style name. See theTPD4 Border Styles by
Name table on page 137.
’%B’,<border 0-27,40,41> = Set the borer style number. See theTPD4 Border Styles by
Name table on page 137.
’%DO<1-5><1-5><1-5><1-5><1-5> = Set the draw order. Listed from bottom to top.
Refer to the ^BDO command on page 140 for more information.
’%F’,<font 1-8,10,11,20-29,32-xx> = Set the font. See theDefault Font Styles and ID
Numbers table on page 136.
’%F<font 01-08,10,11,20-29,32-xx>’ = Set the font. See theDefault Font Styles and ID
Numbers table on page 136.
’%MI<mask image>’ = Set the mask image. Refer to the ^BMI command on page 145 for
more information.
’%T<text >’ = Set the text using ASCII characters (empty is clear).
’%P<bitmap>’ = 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:
’%JT<alignment of text 0-9>’ = As shown the above telephone keypad alignment chart,
BUT
the 0 (zero) is absolute and followed by
’,<left>,<top>’
’%JB<alignment of bitmap/picture 0-9>’ = As shown the above telephone keypad
alignment chart BUT the 0 (zero) is absolute and followed by
’,<left>,<top>’
’%JI<alignment of icon 0-9>’ = As shown the above telephone keypad alignment chart,
BUT
the 0 (zero) is absolute and followed by
’,<left>,<top>’
For some of these commands and values, refer to
theRGB Values for all 88 Basic
Colors table on page 134.
’%CF<on fill color>’ = Set Fill Color.
’%CB<on border color>’ = Set Border Color.
’%CT<on text color>’ = Set Text Color.
’%SW<1 or 0>’ = Show/hide a button.
’%SO<sound>’ = Set the button sound.
’%EN<1 or 0>’ = Enable/disable a button.
’%WW<1 or 0>’ = Word wrap On/Off.
’%GH<bargraph hi>’ = Set the bargraph upper limit.
’%GL<bargraph low>’ = Set the bargraph lower limit.
’%GN<bargraph slider name>’ = Set the bargraph slider name/Joystick cursor name.
’%GC<bargraph slider color>’ = Set the bargraph slider color/Joystick cursor color.
1
4
7
8
9
6
3
2
5
0
Zero can be used for an absolute position
Содержание modero NXD-CV10
Страница 1: ...Operation Reference Guide Touch Panels NXT D CV10 10 Modero Touch Panel Last Revised 7 2 2012 ...
Страница 44: ...CV10 Touch Panel Accessories 32 10 Modero Touch Panels ...
Страница 58: ...Installation 46 10 Modero Touch Panels ...
Страница 88: ...Configuring Communication 76 10 Modero Touch Panels ...
Страница 98: ...Upgrading Modero Firmware 86 10 Modero Touch Panels ...
Страница 192: ...Appendix A 180 10 Modero Touch Panels ...
Страница 206: ...Troubleshooting 194 10 Modero Touch Panels ...
Страница 207: ...Appendix 195 10 Modero Touch Panels ...