Variable text Send_Commands (cont.)

Command

Description

 

 

"'BTOF',<variable text address>

"'BTON',<variable text address>'

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

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.

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.

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>'"

'FONT<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.

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.

Color Active-Matrix LCD Touch Panels

AXCESS Programming

135

Page 143
Image 143
AMX G3 manual Sendcommand TP, Btof