Color send_commands – AMX G3 User Manual

Page 140

Advertising
background image

132

AXCESS Programming

Color Active-Matrix LCD Touch Panels

Color Send_Commands

Use the color Send_Commands (Figure 194) to set the colors for text, buttons, and
pages.

Color Send_Commands

Command

Description

'CALL<variable text
address>-<data>'

Set the colors for a variable text button. See Figure 190 for
color numbers.

<variable text address> = 1 - 255

<data> = 6 color_number series for:

FILL COLOR ON

FILL COLOR OFF

BORDER COLOR ON

BORDER COLOR OFF

TEXT COLOR ON

TEXT COLOR OFF

Example:

SEND_COMMAND TP,'CALL1-48 72 0 0 72 48'

Sets variable text button 1 to:

FILL COLOR ON = BLUE

FILL COLOR OFF = WHITE

BORDER COLOR ON = RED

BORDER COLOR OFF = RED

TEXT COLOR ON = WHITE

TEXT COLOR OFF = BLUE

'CBOFF<variable text
address>-<color
_number>'

Set the OFF feedback border color to the specified color.

<variable text address> = 1 - 255

<color_number> = see Figure 190

Example:

SEND_COMMAND TP,'CBOFF1-0'

Sets the OFF feedback border color to RED for the variable
text button 1.

Figure 194

Color Send_Commands

Note

You must use the variable

text assignments to change

button colors.

Advertising