File: mainunit.lfm

package info (click to toggle)
lazarus 4.0%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 275,760 kB
  • sloc: pascal: 2,341,904; xml: 509,420; makefile: 348,726; cpp: 93,608; sh: 3,387; java: 609; perl: 297; sql: 222; ansic: 137
file content (275 lines) | stat: -rw-r--r-- 6,709 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
object frmMain: TfrmMain
  Left = 216
  Height = 403
  Top = 153
  Width = 709
  HorzScrollBar.Page = 713
  VertScrollBar.Page = 439
  ActiveControl = lbFamily
  Caption = 'Font Enumeration'
  ClientHeight = 403
  ClientWidth = 709
  OnCloseQuery = FormCloseQuery
  OnCreate = FormCreate
  OnShow = FormShow
  ShowHint = True
  LCLVersion = '2.3.0.0'
  object lflFontFaceList: TLabel
    AnchorSideLeft.Control = lbFamily
    AnchorSideTop.Control = lblFilter
    Left = 222
    Height = 15
    Top = 16
    Width = 67
    Caption = 'Face font list'
  end
  object lblStyles: TLabel
    AnchorSideLeft.Control = lbStyles
    AnchorSideTop.Control = lblFilter
    Left = 416
    Height = 15
    Top = 16
    Width = 30
    Caption = 'Styles'
  end
  object lblSizes: TLabel
    AnchorSideLeft.Control = lbSizes
    AnchorSideTop.Control = lblFilter
    Left = 624
    Height = 15
    Top = 16
    Width = 25
    Caption = 'Sizes'
  end
  object lblCharset: TLabel
    AnchorSideLeft.Control = lbStyles
    AnchorSideTop.Control = lbSizes
    AnchorSideTop.Side = asrCenter
    Left = 416
    Height = 15
    Top = 145
    Width = 41
    Caption = 'CharSet'
  end
  object lblFilter: TLabel
    AnchorSideLeft.Control = Owner
    AnchorSideTop.Control = Owner
    Left = 16
    Height = 15
    Top = 16
    Width = 26
    BorderSpacing.Left = 16
    BorderSpacing.Top = 16
    Caption = 'Filter'
  end
  object lbFamily: TListBox
    AnchorSideLeft.Control = cbCharset
    AnchorSideLeft.Side = asrBottom
    AnchorSideTop.Control = cbCharset
    AnchorSideRight.Control = lbStyles
    Left = 222
    Height = 239
    Top = 33
    Width = 186
    Anchors = [akTop, akLeft, akRight]
    BorderSpacing.Left = 12
    BorderSpacing.Right = 8
    ItemHeight = 0
    OnClick = lbFamilyClick
    TabOrder = 0
  end
  object cbCharset: TComboBox
    AnchorSideLeft.Control = lblFilter
    AnchorSideTop.Control = lblFilter
    AnchorSideTop.Side = asrBottom
    Left = 16
    Height = 23
    Top = 33
    Width = 194
    BorderSpacing.Top = 2
    DropDownCount = 24
    ItemHeight = 15
    TabOrder = 1
    Text = 'ANSI_CHARSET'
  end
  object btnApplyFilter: TButton
    AnchorSideLeft.Control = lblFilter
    AnchorSideTop.Control = cbPitch
    AnchorSideTop.Side = asrBottom
    Left = 16
    Height = 33
    Top = 99
    Width = 92
    AutoSize = True
    BorderSpacing.Top = 16
    BorderSpacing.InnerBorder = 4
    Caption = 'Apply filter'
    OnClick = btnApplyFilterClick
    TabOrder = 2
  end
  object lbStyles: TListBox
    AnchorSideTop.Control = cbCharset
    AnchorSideRight.Control = lbSizes
    AnchorSideBottom.Control = lblCharset
    Left = 416
    Height = 104
    Top = 33
    Width = 200
    Anchors = [akTop, akRight, akBottom]
    BorderSpacing.Right = 8
    BorderSpacing.Bottom = 8
    ItemHeight = 0
    OnClick = lbStylesClick
    TabOrder = 3
  end
  object lbSizes: TListBox
    AnchorSideLeft.Control = chkUnderLine
    AnchorSideTop.Control = cbCharset
    AnchorSideRight.Control = Owner
    AnchorSideRight.Side = asrBottom
    AnchorSideBottom.Control = lbFamily
    AnchorSideBottom.Side = asrBottom
    Left = 624
    Height = 239
    Top = 33
    Width = 69
    Anchors = [akTop, akRight, akBottom]
    BorderSpacing.Right = 16
    ItemHeight = 0
    OnClick = lbSizesClick
    TabOrder = 4
  end
  object lbCharset: TListBox
    AnchorSideLeft.Control = lbStyles
    AnchorSideTop.Control = lblCharset
    AnchorSideTop.Side = asrBottom
    AnchorSideRight.Control = lbSizes
    AnchorSideBottom.Control = lbFamily
    AnchorSideBottom.Side = asrBottom
    Left = 416
    Height = 110
    Top = 162
    Width = 200
    Anchors = [akTop, akLeft, akRight, akBottom]
    BorderSpacing.Top = 2
    BorderSpacing.Right = 8
    ItemHeight = 0
    OnClick = lbCharsetClick
    TabOrder = 5
  end
  object cbPitch: TComboBox
    AnchorSideLeft.Control = lblFilter
    AnchorSideTop.Control = cbCharset
    AnchorSideTop.Side = asrBottom
    AnchorSideRight.Control = cbCharset
    AnchorSideRight.Side = asrBottom
    Left = 16
    Height = 23
    Top = 60
    Width = 194
    BorderSpacing.Top = 4
    DropDownCount = 24
    ItemHeight = 15
    ItemIndex = 0
    Items.Strings = (
      'DEFAULT_PITCH'
      'FIXED_PITCH'
      'VARIABLE_PITCH'
      'MONO_FONT'
    )
    TabOrder = 6
    Text = 'DEFAULT_PITCH'
  end
  object btnFontDlg: TButton
    AnchorSideLeft.Control = btnResetText
    AnchorSideTop.Control = btnResetText
    AnchorSideTop.Side = asrBottom
    AnchorSideRight.Control = btnResetText
    AnchorSideRight.Side = asrBottom
    Left = 81
    Height = 33
    Top = 321
    Width = 129
    Anchors = [akTop, akLeft, akRight]
    AutoSize = True
    BorderSpacing.Top = 8
    BorderSpacing.InnerBorder = 4
    Caption = 'Font Dlg'
    OnClick = btnFontDlgClick
    TabOrder = 7
  end
  object chkStrike: TCheckBox
    AnchorSideLeft.Control = chkUnderLine
    AnchorSideTop.Control = grid
    Left = 624
    Height = 19
    Top = 280
    Width = 65
    Caption = 'Strikeout'
    OnChange = chkStrikeChange
    TabOrder = 8
  end
  object chkUnderLine: TCheckBox
    AnchorSideLeft.Side = asrBottom
    AnchorSideTop.Control = chkStrike
    AnchorSideTop.Side = asrBottom
    AnchorSideRight.Control = lbSizes
    AnchorSideRight.Side = asrBottom
    Left = 624
    Height = 19
    Top = 303
    Width = 69
    Anchors = [akTop, akRight]
    BorderSpacing.Top = 4
    Caption = 'Underline'
    OnChange = chkUnderLineChange
    TabOrder = 9
  end
  object btnResetText: TButton
    AnchorSideTop.Control = grid
    AnchorSideRight.Control = cbPitch
    AnchorSideRight.Side = asrBottom
    Left = 81
    Height = 33
    Top = 280
    Width = 129
    Anchors = [akTop, akRight]
    AutoSize = True
    BorderSpacing.InnerBorder = 4
    Caption = 'Reset Sample Text'
    OnClick = btnResetTextClick
    TabOrder = 10
  end
  object grid: TStringGrid
    AnchorSideLeft.Control = lbFamily
    AnchorSideTop.Control = lbFamily
    AnchorSideTop.Side = asrBottom
    AnchorSideRight.Control = chkUnderLine
    AnchorSideBottom.Control = Owner
    AnchorSideBottom.Side = asrBottom
    Left = 222
    Height = 107
    Top = 280
    Width = 394
    Anchors = [akTop, akLeft, akRight, akBottom]
    AutoFillColumns = True
    BorderSpacing.Top = 8
    BorderSpacing.Right = 8
    BorderSpacing.Bottom = 16
    ColCount = 1
    DefaultRowHeight = 17
    FixedCols = 0
    FixedRows = 0
    Options = [goFixedVertLine, goFixedHorzLine, goHorzLine, goRangeSelect, goEditing, goThumbTracking, goSmoothScroll]
    TabOrder = 11
    ColWidths = (
      390
    )
  end
  object FontDialog1: TFontDialog
    MinFontSize = 0
    MaxFontSize = 0
    Left = 248
    Top = 320
  end
end