User Guide

Programming
37
10.4" Touch Panels
Programming Numbers
The following information provides the programming numbers for colors, fonts, and borders
Colors can be used to set the colors on buttons, sliders, gauges, and pages. The lowest color number
represents the lightest color-specific display; the highest number represents the darkest display. For
example, 0 represents light red, and 5 is dark red.
Font styles can be used to program the text fonts on buttons, sliders, gauges, and pages. The
programming numbers are assigned consecutively when downloaded to the touch panel.
VGA Send_Commands (Cont.)
VGVP
Moves the VGA
display vertically
up or down.
Syntax:
"’VGVP-<ASCII setting for vertical position>’"
Variable:
ASCII vertical position setting = 0 - 15
Examples:
SEND_COMMAND TP,"’VGVP-10’"
Centers the VGA display vertically.
Colors and Programming Numbers
Color No. Color No.
Red 0 - 5 Purple 54 - 59
Orange 6 - 11 Magenta 60 - 65
Yellow 12 - 17 Pink 66 - 71
Lime 18 - 23 White 72 - 77
Green 24 - 29 Light Gray 78 - 83
Aqua 30 - 35 Dark Gray 84 - 86
Cyan 36 - 41 Black 87
Royal 42 - 47 Transparent 255
Blue 48 - 53
Font Styles and Programming Numbers
No. Font styles No. Font styles
1 Extra small 5 Extra large
2 Small 6 Hollow medium
3 Medium 8 Hollow extra large
4 Large 32 - 255 Variable fonts
You must import variable text fonts into a TPDesign3 project file, and download the
project file containing the fonts to the touch panel. The variable fonts are
programming numbers assigned by the touch panel during the download process.