AMX G3 User Manual

Page 146

Advertising
background image

138

AXCESS Programming

Color Active-Matrix LCD Touch Panels

Shorthand variable text commands (cont.)

Command

Description

'%C1',<on-state fill color> = See Figure 190 for color numbers

'%C2',<off-state fill color> = See Figure 190 for color numbers

'%C3',<on-state border color> = See Figure 190 for color
numbers

'%C4',<off-state border color> = See Figure 190 for color
numbers

'%C5',<off-state text color> = See Figure 190 for color
numbers

'%C6',<on-state text color> = See Figure 190 for color
numbers

Example:

SEND_COMMAND TP,"'@BMF',255,'%T POWER |ON
%B',4',%C1',53'"

Sets the text on button 255 to POWER ON (appears on two
lines), adds a triple-line border, and sets the On-state color to
dark blue.

"'@SHO',<variable text
address>,<button
on/off>"

Set a specific button to on or off.

<variable text address> = 1 - 255

<0> = button off and <1> = button on

Example:

SEND_COMMAND TP,"'@SHO',128,0"

Sets button 128 off.

"'@ENA',<variable text
address>,<button state
on/off>"

Set a specific button's active state to On.

<variable text address> = 1 - 255

<0> = button off and <1> = button on

Example:

SEND_COMMAND TP, "'@ENA',128,1"

Sets the state for button 128 on.

Advertising