Programming the Mio R-4

"^" Button Commands (Cont.)

^BMP

Assign a picture to those buttons with a defined address range.

Assign a picture to

Syntax:

those buttons with

"'^BMP-<vt addr range>,<button states range>,<name of bitmap/

a defined address

picture>'"

range

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

 

• name of bitmap/picture = 1 - 50 ASCII characters.

 

Example:

 

SEND_COMMAND Device,"'^BMP-500.504&510.515,1,bitmap.png'"

 

Sets the OFF state picture for the buttons with variable text ranges of 500-504 & 510-515.

 

 

^BOR

Set a border to a specific border style associated with a border value for those buttons

Set a border to a

with a defined address range.

Syntax:

specific border

style associated

"'^BOR-<vt addr range>,<border style name or border value>'"

with a border

Variable:

value for those

 

buttons with a

• variable text address range = 1 - 4000.

defined address

• border style name = Refer to theBorder Styles by Numbers table on page 38.

range

• border value = 0 - 41.

 

 

Examples:

 

SEND_COMMAND Device,"'^BOR-500.504&510.515,10'"

 

Sets the border by number (#10) to those buttons with the variable text range of 500-504

 

& 510-515.

 

SEND_COMMAND Device,"'^BOR-500.504&510,AMX Elite -M'"

 

Sets the border by name (AMX Elite) to those buttons with the variable text range of

 

500-504 & 510-515.

 

The border style is available through the TPDesign4 border-style drop-down list. Refer to

 

theTPD4 Border Styles by Name table on page 38 for more information.

 

 

^BPP

Set or clear the protected page flip flag of a button. Zero clears the flag.

Set or clear the

Syntax:

protected page flip

"'^BPP-<vt addr range>,<protected page flip flag value>'"

flag of a

Variable:

button

• variable text address range = 1 - 4000.

 

 

• protected page flip flag value range = 0 - 4 (0 clears the flag).

 

Example:

 

SEND_COMMAND Device,"'^BPP-500,1'"

 

Sets the button to protected page flip flag 1 (sets it to password 1).

 

 

56

Mio Modero R-4

Page 62
Image 62
AMX Mio Modero R-4 manual Bmp, Bor, Bpp