AMX G3 User Manual

Page 143

Advertising
background image

Color Active-Matrix LCD Touch Panels

AXCESS Programming

135

Variable text Send_Commands (cont.)

Command

Description

"'BTOF',<variable text
address>

Set a specific button's active state to off.

<variable text address> = 1 - 255

Example:

SEND_COMMAND TP, 'BTOF 255'

Sets the state for button 255 to off.

"'BTON',<variable text
address>'

Set a specific button's active state to on.

<variable text address> = 1 - 255

Example:

SEND_COMMAND TP, 'BTON 128'

Sets the state for button 128 to on.

"'!C',<variable text
address>,<border
style>,<font
size>,'<new button
text>'"

Set the border, font, and text in one command.

<variable text address> = 1 - 255

<border style> = See Figure 192

<font size> = See Figure 191

<button text> = Enter button text to appear on button

Example:

SEND_COMMAND TP,"'!C',1,6,6,'VCR PLAY'"

Sets the variable text button 1 title to VCR PLAY using a
hollow medium font, and changes the border attribute to
double rounded.

"'!F',<variable text
address>,'<font
size>'"

Shorthand version of

'

FONT

'

command.

<variable text address> = 1 - 255

<font size> = See Figure 191

Example:

SEND_COMMAND TP,"'!F',1,'6'"

Changes variable text button 1 font to hollow medium.

'FONT<variable text
address>-<font size>'

Change the font size (or style) of the text in a specific button.

<variable text address> = 1 - 255

<font size> = See Figure 191

Example:

SEND_COMMAND TP,'FONT1-6'

Changes variable text button 1 font to hollow medium.

Advertising