Programming

"^" Button Commands (Cont.)

^ICO

Syntax:

Set the icon to a

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

button.

index>'"

 

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

 

icon index range = 0 - 9900 (a value of 0 is clear).

 

Example:

 

SEND_COMMAND Panel,"'^ICO-500.504&510.515,1&2,1'"

 

Sets the icon for On and Off states for buttons with variable text ranges of 500-504 &

 

510-515.

 

 

 

 

 

 

 

 

 

 

^JSB

The alignment of 0 is followed by ',<left>,<top>'. The left and top coordinates are relative

Set bitmap/

to the upper left corner of the button.

 

 

 

 

 

 

picture alignment

Syntax:

 

 

 

 

using a numeric

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

keypad layout for

alignment>'"

 

those buttons with

 

Variable:

 

 

 

 

a defined address

 

 

 

 

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

The alignment of 0 is followed by ',<left>,<top>'. The left and top coordinates are relative

Set icon

to the upper left corner of the button.

 

 

 

 

 

 

alignment using a

Syntax:

 

 

 

 

numeric keypad

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

layout for those

alignment>'"

 

buttons with a

 

Variable:

 

 

 

 

defined address

 

 

 

 

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 Panel,"'^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.

 

140

7" Modero Widescreen Touch Panels

 

 

 

Page 148
Image 148
AMX NXD-CV7 ICO-vt addr range,button states range,icon, Index, Sendcommand Panel,ICO-500.504&510.515,1&2,1, Alignment