beautypg.com

AMX 8.5" Color Passive LCD Touch Panels User Manual

Page 38

background image

Programming

34

Color Passive-Matrix LCD Touch Panels

Variable Text Send_Commands (Cont.)

!C

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

Syntax:

"’!C’,,,

size>,’’"

Variables:

variable text address = 1 - 255

border style = See the Border Styles and Programming Numbers table on page 26.

font size = See the Font Styles and Programming Numbers table on page 26.

button text = Enter button text to appear on button.

Example:

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

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

!F

Shorthand ver-
sion of

’FONT’

command.

Syntax:

"’!F’,,’’"

Variables:

variable text address = 1 - 255

font size = See the Font Styles and Programming Numbers table on page 26.

Example:

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

Changes variable text button one font to hollow medium.

FONT

Changes the font
size (or style) of
the text in a spe-
cific button.

Syntax:

"’FONT,-’"

Variables:

variable text address = 1 - 255

font size = See the Font Styles and Programming Numbers table on page 26.

Example:

SEND_COMMAND TP,"’FONT,1-6’"

Changes variable text button one font to hollow medium.

!I

Shorthand ver-
sion of

'ICON'

command.

Syntax:

"’!I’,,’’"

Variables:

variable text address = 1 - 255

border style = See the Border Styles and Programming Numbers table on page 26.

Example:

SEND_COMMAND TP,"’!I’,1,’6’"

Changes the variable text button one border style to double rounded.

ICON

Changes the bor-
der style of a spe-
cific button.

Syntax:

"’ICON,-’"

Variables:

variable text address = 1 - 255

border style = See the Border Styles and Programming Numbers table on page 26.

Example:

SEND_COMMAND TP,"’ICON,25-6’"

Changes the variable text button 25 border style to double-rounded.