Programming
121
7" Modero Widescreen Touch Panels
Font styles and ID numbersFont styles can be used to program the text fonts on buttons, sliders, and pages. The following chart shows the default font type and their respective ID numbers generated by TPDesign4. RGB Values for all 88 Basic Colors (Cont.)
Index No. Name Red Green Blue
80 Grey8 119 119 119
81 Grey10 85 85 85
82 Grey12 51 51 51
83 Grey13 34 34 34
84 Grey2 221 221 221
85 Grey11 68 68 68
86 Grey14 17 17 17
87 Black 0 0 0
255 TRANSPARENT 99 53 99
Default Font Styles and ID Numbers
Font ID # Font type Size Font ID # Font type Size
1 Courier New 9 19 Arial 9
2 Courier New 12 20 Arial 10
3 Courier New 18 21 Arial 12
4 Courier New 26 22 Arial 14
5 Courier New 32 23 Arial 16
6 Courier New 18 24 Arial 18
7 Courier New 26 25 Arial 20
8 Courier New 34 26 Arial 24
9AMX Bold14 27Arial 36
10 AMX Bold 20 28 Arial Bold 10
11 AMX Bold 36 29 Arial Bold 8
32 - Variable Fonts start at 32.

You must import fonts into a TPDesign4 project file. The font ID numbers are

assigned by TPDesign4. These values are also listed in the

Generate Programmer’s Report.