Programming

"^" Button Commands (Cont.)

^TEC

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

Set the text effect

color by name or RGB value (RRGGBB or RRGGBBAA).

 

color for the

Syntax:

specified

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

addresses/states

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 the RGB Values for all 88 Basic Colors table on page 119.

 

Example:

 

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

 

 

^TEF

The Text Effect is specified by name and can be found in TPD4.

Set the text effect.

Syntax:

 

"'^TEF-<vt addr range>,<button states range>,<text effect

 

name>'"

 

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

 

text effect name = Refer to the Text Effects table on page 144 for a listing of text

 

effect names.

 

Example:

 

SEND_COMMAND Panel,"'^TEF-500.504&510.515,1&2,Soft Drop

 

Shadow 3'"

 

Sets the text effect to Soft Drop Shadow 3 for the button with variable text range 500-504

 

and 510-515.

 

 

^TXT

Sets Non-Unicode text.

Assign a text

Syntax:

string to those

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

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 text = 1 - 50 ASCII characters.

 

Example:

 

SEND_COMMAND Panel,"'^TXT-500.504&510.515,1&2,Test Only'"

 

Sets the On and Off state text for buttons with the variable text ranges of

 

500-504 & 510-515.

 

 

 

142

7" Modero Widescreen Touch Panels

 

 

 

Page 150
Image 150
AMX NXD-CV7, NXT-CV7 TEC-vt addr range,button states range,color, Sendcommand Panel,TEC-500.504&510.515,1&2,12, Shadow