
Programming
"^" Button Commands (Cont.)
^BMF
Set any/all button parameters by sending embedded codes and data.
Syntax:
Variables:
variable text address char array = 1 - 4000.
button states range = 1 - 256 for
level range = 1 - 600 (level value is 1 - 65535). data:
’%R<left>, <top>, <right>, <bottom>’ = Set rectangle.
’%B<border style>’ = Set the border style name. See theBorder Styles and Programming Numbers table on page 105.
’%B’,<border
’%F’,<font
’%F<font
’%MI<mask image>’ = Set the mask image. Refer to the ^BMI command on page 115 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
’%I<icon
’%J’,<alignment of text
0
1 | 2 | 3 | Zero can be used for an absolute position | |
4 | 5 | 6 | ||
| ||||
|
|
|
| |
7 | 8 | 9 |
|
’%JT<alignment of text
’%JB<alignment of bitmap/picture
’%JI<alignment of icon
For some of these commands and values, refer to theRGB Values for all 88 Basic Colors table on page 102.
’%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.
’%GI<bargraph invert>’ = Set the bargraph invert/noninvert or joystick coordinate (0,1,2,3). ^GIV section on page 121 more information.
113 | |
|
|