Programming the Mio R-4

 

"^" Button Commands (Cont.)

 

 

 

 

^BCF

Set the fill color to the specified color only if the specified fill color is not the same as the

 

Set the fill color to

current color.

 

the specified 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 35 for more

 

 

information.

 

 

Example:

 

 

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

 

 

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

 

 

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

 

 

SEND_COMMAND Device,"'^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

 

Set the text color

the current color.

 

 

 

to the specified

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

 

color.

(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 35 for more

 

 

information.

 

 

Example:

 

 

SEND_COMMAND Device,"'^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).

 

 

 

 

Mio Modero R-4

51

 

 

Page 57
Image 57
AMX Mio Modero R-4 manual Bcf, Bct, Sendcommand Device,BCT-500.504&510,1,12