This table shows the logical pen numbers and associated physical pen numbers for HTBasic. See
Physical Pens Table for the actual colors of the physicalpen numbers listed. See
Settable Pens Table for settable pens for HTBasic. Of the logical pens listed in the Logical Pens table, only those pens with bold blue entries are referenced in BuilderPlus. The other pens remain for compatibility with previous versions of HP BASIC Plus.
|
Pen
|
Pen Name
|
Physical Pen for n colors
|
|
|
|
2
|
3 - 63
|
64 - 255
|
256
|
|
0
|
ActiveBorder
|
0
|
14
|
14
|
30
|
|
1
|
ActiveTitleBar
|
1
|
14
|
14
|
30
|
|
2
|
ActiveTBarForeground
|
0
|
1
|
1
|
17
|
|
3
|
AppBackground
|
0
|
9
|
9
|
25
|
|
4
|
AppBorder
|
0
|
14
|
14
|
30
|
|
5
|
AppTitleBar
|
0
|
14
|
14
|
30
|
|
|
|
|
|
|
|
|
6
|
AppTBarForeground
|
1
|
1
|
1
|
17
|
|
7
|
ButtonBackground
|
0
|
11
|
11
|
27
|
|
8
|
ButtonForeground
|
1
|
0
|
0
|
16
|
|
9
|
DialogBoxBackground
|
0
|
8
|
8
|
24
|
|
10
|
DialogBoxBorder
|
1
|
14
|
14
|
30
|
|
|
|
|
|
|
|
|
11
|
DialogBoxForeground
|
1
|
1
|
1
|
17
|
|
12
|
DialogBoxTitleBar
|
0
|
13
|
13
|
29
|
|
13
|
DialogBoxTBarForeground
|
1
|
1
|
1
|
17
|
|
14
|
ErrorTitleBar
|
0
|
2
|
2
|
18
|
|
15
|
GrayForeground
|
0
|
15
|
15
|
31
|
|
|
|
|
|
|
|
|
16
|
Highlight
|
1
|
13
|
13
|
29
|
|
17
|
HighlightForeground
|
0
|
3
|
3
|
19
|
|
18
|
HyperText
|
1
|
6
|
6
|
22
|
|
19
|
InactiveBorder
|
0
|
11
|
11
|
27
|
|
20
|
InactiveTitleBar
|
0
|
11
|
11
|
27
|
|
|
|
|
|
|
|
|
21
|
Inactive TBarForeground
|
1
|
0
|
0
|
16
|
|
22
|
ITGDisplayTraceBlue
|
1
|
5
|
5
|
21
|
|
23
|
ITGDisplayTraceGreen
|
1
|
4
|
4
|
20
|
|
24
|
ITGPushButton
|
0
|
12
|
12
|
28
|
|
25
|
ITGResetButton
|
0
|
10
|
10
|
26
|
|
|
|
|
|
|
|
|
26
|
ListBoxForeground
|
1
|
0
|
0
|
16
|
|
27
|
ListBoxBackground
|
0
|
15
|
15
|
31
|
|
28
|
MenuBar
|
0
|
11
|
11
|
27
|
|
29
|
MenuForeground
|
1
|
0
|
0
|
16
|
|
30
|
PopupWindowBackground
|
0
|
8
|
8
|
24
|
|
|
|
|
|
|
|
|
31
|
PopupWindowFrame
|
1
|
0
|
0
|
16
|
|
32
|
PopupWindowForeground
|
1
|
1
|
1
|
17
|
|
33
|
Scrollbars
|
0
|
11
|
11
|
27
|
|
34
|
WindowBackground
|
0
|
1
|
1
|
17
|
|
35
|
WindowFrame
|
1
|
0
|
0
|
16
|
|
|
|
|
|
|
|
|
36
|
WindowForeground
|
1
|
0
|
0
|
16
|
|
37
|
Workspace
|
0
|
15
|
15
|
31
|
|
38
|
WorkspaceBorder
|
0
|
14
|
14
|
30
|
|
39
|
WorkspaceTitleBar
|
0
|
14
|
14
|
30
|
|
40
|
WorkspaceTBarForeground
|
1
|
0
|
0
|
16
|
|
|
|
|
|
|
|
|
41
|
WidgetGreen
|
1
|
4
|
4
|
20
|
|
42
|
WidgetYellow
|
1
|
3
|
3
|
19
|
|
43
|
WidgetRed
|
1
|
2
|
2
|
18
|
|
44
|
WidgetWhite
|
1
|
1
|
1
|
17
|
|
45
|
GraphBackground
|
0
|
13
|
13
|
29
|
|
|
|
|
|
|
|
|
46
|
GraphTrace1
|
1
|
3
|
3
|
19
|
|
47
|
GraphTrace2
|
1
|
5
|
5
|
21
|
|
48
|
GraphTrace3
|
1
|
7
|
7
|
23
|
|
49
|
GraphTrace4
|
1
|
4
|
4
|
20
|
|
50
|
GraphTrace5
|
1
|
2
|
2
|
18
|
|
|
|
|
|
|
|
|
51
|
GraphTrace6
|
1
|
14
|
14
|
30
|
|
52
|
GraphTrace7
|
1
|
11
|
11
|
27
|
|
53
|
GraphTrace8
|
1
|
1
|
1
|
17
|
|
54
|
RMBBackground
|
0
|
0
|
0
|
0
|
|
55
|
AppBackgroundCmp
|
1
|
6
|
54
|
230
|
|
|
|
|
|
|
|
|
56
|
WindowBackgroundCmp
|
1
|
14
|
62
|
238
|
|
57
|
PopupBackgroundCmp
|
1
|
7
|
55
|
231
|
|
58
|
DialogBoxBackgroundCmp
|
1
|
7
|
55
|
231
|