Programming the Mio R-4

"^" Button Commands (Cont.)

^JSB

Set bitmap/picture alignment using a numeric keypad layout for those buttons with a

Set bitmap/

defined address range.The alignment of 0 is followed by ',<left>,<top>'. The left and top

coordinates are relative to the upper left corner of the button.

picture alignment

Syntax:

 

 

 

using a numeric

 

 

 

keypad layout for

"'^JSB-<vt addr range>,<button states range>,<new text

those buttons with

alignment>'"

 

a defined address

 

Variable:

 

 

 

range

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

 

• new text alignment = Value of 1- 9 corresponds to the following locations:

 

0

 

 

 

 

 

 

1

2

3

Zero can be used for an absolute position

 

 

 

 

 

 

 

4

5

6

 

 

 

 

 

7

8

9

 

 

Example:

 

 

 

 

SEND_COMMAND Device,"'^JSB-500.504&510.515,1&2,1'"

 

Sets the off/on state picture alignment to upper left corner for those buttons with variable

 

text ranges of 500-504 & 510-515.

 

 

 

 

 

 

^JSI

Set icon alignment using a numeric keypad layout for those buttons with a defined

Set icon

address range. The alignment of 0 is followed by ',<left>,<top>'. The left and top coordi-

nates are relative to the upper left corner of the button.

alignment using a

Syntax:

 

 

 

numeric keypad

 

 

 

layout for those

"'^JSI-<vt addr range>,<button states range>,<new icon

buttons with a

alignment>'"

 

defined address

 

Variable:

 

 

 

range

 

 

 

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

 

• new icon alignment = Value of 1 - 9 corresponds to the following locations:

 

0

 

 

 

 

 

 

1

2

3

Zero can be used for an absolute position

 

 

 

 

 

 

 

4

5

6

 

 

 

 

 

7

8

9

 

 

Example:

 

 

 

 

SEND_COMMAND Device,"'^JSI-500.504&510.515,1&2,1'"

 

Sets the Off/On state icon alignment to upper left corner for those buttons with variable

 

text range of 500-504 & 510-515.

 

 

 

 

 

 

62

Mio Modero R-4

Page 68
Image 68
AMX Mio Modero R-4 manual Jsb, Jsi