AMX Modero NXD-1000Vi User Manual

Page 162

Advertising
background image

Programming

152

10" Modero Widescreen Touch Panels

"^" Button Commands (Cont.)

^BCB

Set the border
color to the
specified color.

Only if the specified border color is not the same as the current color.

Note: Color can be assigned by color name (without spaces), number or R,G,B value
(RRGGBB or RRGGBBAA).

Syntax:

"'^BCB-<vt addr range>,<button states range>,<color value>'"

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).

color value = Refer to theRGB Values for all 88 Basic Colors table on page 145 for more
information.

Example:

SEND_COMMAND Panel,"'^BCB-500.504&510,1,12'"

Sets the Off state border color to 12 (Yellow). Colors can be set by Color Numbers, Color
name, R,G,B,alpha colors (RRGGBBAA) and R, G & B colors values (RRGGBB).
Refer to theRGB Values for all 88 Basic Colors table on page 145.

^BCF

Set the fill color to
the specified
color.

Only if the specified fill color is not the same as the current color.

Note: Color can be assigned by color name (without spaces), number or R,G,B value
(RRGGBB or RRGGBBAA).

Syntax:

"'^BCF-<vt addr range>,<button states range>,<color value>'"

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).

color value = Refer to theRGB Values for all 88 Basic Colors table on page 145 for more
information.

Example:

SEND_COMMAND Panel,"'^BCF-500.504&510.515,1,12'"

SEND_COMMAND Panel,"'^BCF-500.504&510.515,1,Yellow'"

SEND_COMMAND Panel,"'^BCF-500.504&510.515,1,#F4EC0A63''"

SEND_COMMAND Panel,"'^BCF-500.504&510.515,1,#F4EC0A'"

Sets the Off state fill color by color number. Colors can be set by Color Numbers, Color
name, R,G,B,alpha colors (RRGGBBAA) and R, G & B colors values (RRGGBB).

^BCT

Set the text color
to the specified
color.

Only if the specified text color is not the same as the current color.

Note: Color can be assigned by color name (without spaces), number or R,G,B value
(RRGGBB or RRGGBBAA).

Syntax:

"'^BCT-<vt addr range>,<button states range>,<color value>'"

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).

color value = Refer to theRGB Values for all 88 Basic Colors table on page 145 for more
information.

Example:

SEND_COMMAND Panel,"'^BCT-500.504&510,1,12'"

Sets the Off state border color to 12 (Yellow). Colors can be set by Color Numbers, Color
name, R,G,B,alpha colors (RRGGBBAA) and R, G & B colors values (RRGGBB).

Advertising