Programming the Mio R-4

 

 

 

 

 

 

 

"^" Button Commands (Cont.)

 

 

 

 

 

 

 

 

 

^JST

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

 

Set text

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.

 

alignment using a

 

numeric keypad

Syntax:

 

 

 

 

 

layout for those

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

 

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 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,"'^JST-500.504&510.515,1&2,1'"

 

 

Sets the text alignment to the upper left corner for those buttons with variable text ranges

 

 

of 500-504 & 510-515.

 

 

 

 

 

 

 

 

 

^SHO

Show or hide a button with a set variable text range.

 

Show or hide a

Syntax:

 

 

 

 

 

button with a set

"'^SHO-<vt addr range>,<command value>'"

 

variable text

 

Variables:

 

 

 

 

 

range

 

 

 

 

 

• variable text address range = 1 - 4000.

 

 

 

 

• command value = (0= hide, 1= show).

 

 

Example:

 

 

 

 

 

 

SEND_COMMAND Device,"'^SHO-500.504&510.515,0'"

 

 

Hides buttons with variable text address range 500-504 & 510-515.

 

 

 

 

 

 

 

 

^TEC

Set the text effect color for the specified addresses/states to the specified color. The Text

 

Set the text effect

Effect is specified by name and can be found in TPD4. You can also assign the color by

 

name or RGB value (RRGGBB or RRGGBBAA).

 

color for the

 

Syntax:

 

 

 

 

 

specified

 

 

 

 

 

addresses/states

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

 

to the specified

 

Variable:

 

 

 

 

 

color

 

 

 

 

 

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

 

 

Example:

 

 

 

 

 

 

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

 

 

Sets the text effect color to Very Light Yellow on buttons with variable text 500-504

 

 

and 510-515.

 

 

 

 

 

 

 

 

 

 

 

 

 

Mio Modero R-4

63

 

 

Page 69
Image 69
AMX Mio Modero R-4 manual Jst, Sho, Tec