The button opacity can be specified as a decimal between 0 - 255, where zero (0) is invisible and 255 is opaque, or as a HEX code, as used in the color commands by preceding the HEX code with the # sign. In this case, #00 becomes invisible and #FF becomes opaque. If the opacity is set to zero (0), this does not make the button inactive, only invisible.
Syntax:"'^BOP-<vt addr range>,<button states range>,<button opacity>'"
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).
button opacity = 0 (invisible) - 255 (opaque).
Example 2:SEND_COMMAND Panel,"'^BOP-500.504&510.515,1,#C8'"
Both examples set the opacity of the buttons with the variable text range of 500-504 and 510-515 to 200.
Set the button opacity.
The button opacity can be specified as a decimal between 0 - 255, where zero (0) is invisible and 255 is opaque, or as a HEX code, as used in the color commands by preceding the HEX code with the # sign. In this case, #00 becomes invisible and #FF becomes opaque. If the opacity is set to zero (0), this does not make the button inactive, only invisible.
Syntax:
"'^BOP-<vt addr range>,<button states range>,<button opacity>'"
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). button opacity = 0 (invisible) - 255 (opaque).
Example:
SEND_COMMAND Panel,"'^BOP-500.504&510.515,1,200'"
Example 2:
SEND_COMMAND Panel,"'^BOP-500.504&510.515,1,#C8'"
Both examples set the opacity of the buttons with the variable text range of 500-504 and 510-515 to 200.