Bcb; Bcf - AMX Modero G5 Instruction Manual

X series g5 touch panels
Hide thumbs Also See for Modero G5:
Table of Contents

Advertisement

Programming - Send Commands
Button State Commands (Cont.)

?BCB

^BCF

80
Get Border Color Command. Get the current border color.
Syntax:
"'?BCB-<vt addr range>,<button states range>'"
Variables:
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).
custom event type 1011:
Flag - zero
Value1 - Button state number
Value2 - Actual length of string (should be 9)
Value3 - Zero
Text - Hex encoded color value (ex: #000000FF)
Text length - Color name length (should be 9)
Example:
SEND COMMAND Panel,"'?BCB-529,1'"
Gets the button 'OFF state' border color. information.
The result sent to the Master would be:
ButtonGet Id = 529 Type = 1011
Flag = 0
VALUE1 = 1
VALUE2 = 9
VALUE3 = 0
TEXT = #222222FF
TEXT LENGTH = 9
Background Color Fill Command. Set the background color fill to specified color in state(s)
Syntax:
"'^BCF-<vt addr range>,<button state range>,<color value>'"
Variables:
Variable text addr 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 RGB Triplets and Names For Basic 88 Colors on page 114 for more information.
Example:
SEND_COMMAND Panel,"'^BCF-500.504&510.515,1,Blue'"
Sets the OFF state background color fill for the buttons with variable text ranges of 500-504 & 510-515 to
Blue.
Modero G5 Touch Panels - Configuration and Programming

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents