
Programming
"^" Button Commands (Cont.)
^BMI | Mask image is used to crop a borderless button to a | |
Set the button | used with a bitmap. | |
Syntax: | ||
mask image. | ||
| ||
| Variable: | |
| variable text address range = 1 - 4000. | |
| button states range = 1 - 256 for | |
| 1 = Off state and 2 = On state). | |
| mask image = Graphic file used. | |
| Example: | |
| SEND_COMMAND | |
| Sets the button with variable text 530 ON/OFF state mask image to 'newmac.png'. | |
| ||
| Set the Chameleon Image button property. See Working With Chameleon Images in | |
| TPD4 Help. | |
| Note: If the Border Style properties is set to something other than 'None', no visible | |
| change will occur. Setting the Border Style to 'None' via ^BOR or ^BMF..%B will reveal the | |
| Chameleon image. | |
| Syntax: | |
| SEND_COMMAND | |
| image>'" | |
| Variables: | |
| variable text address range = 1 - 4000. | |
| button states range = 1 - 256 for | |
| (0 = All states, for General buttons 1 = Off state and 2 = On state). | |
| mask image = Chameleon used. | |
| Example: | |
| SEND_COMMAND | |
| Sets the button with variable text 530 ON/OFF state mask image to 'newmac.png'. | |
|
| |
^BML | If this value is set to zero (0) there is no max length. The maximum length available is | |
Set the maximum | 2000. This is only for a Text area input button and not for a Text area input masking button. | |
Syntax: | ||
length of the text | ||
area button. | ||
| Variable: | |
| variable text address range = 1 - 4000. | |
| max length = 2000 (0=no max length). | |
| Example: | |
| SEND_COMMAND | |
| Sets the maximum length of the text area input button to 20 characters. | |
|
| |
^BMP | Syntax: | |
Assign a picture to | ||
those buttons with | picture>'" | |
a defined address | Variable: | |
range. | variable text address range = 1 - 4000. | |
| button states range = 1 - 256 for | |
| 1 = Off state and 2 = On state). | |
| name of bitmap/picture = 1 - 50 ASCII characters. | |
| Example: | |
| SEND_COMMAND | |
| Sets the OFF state picture for the buttons with variable text ranges of | |
|
|
115 | |
|
|