File: iphtmlpv.lfm

package info (click to toggle)
lazarus 2.0.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 214,460 kB
  • sloc: pascal: 1,862,622; xml: 265,709; cpp: 56,595; sh: 3,008; java: 609; makefile: 535; perl: 297; sql: 222; ansic: 137
file content (295 lines) | stat: -rw-r--r-- 7,293 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
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
object IpHTMLPreview: TIpHTMLPreview
  Left = 274
  Height = 498
  Top = 141
  Width = 863
  Caption = 'Print preview'
  ClientHeight = 498
  ClientWidth = 863
  OnCreate = FormCreate
  OnDestroy = FormDestroy
  OnResize = FormResize
  OnShow = FormShow
  Position = poScreenCenter
  LCLVersion = '1.7'
  object ToolbarPanel: TPanel
    Left = 0
    Height = 36
    Top = 0
    Width = 863
    Align = alTop
    AutoSize = True
    BevelOuter = bvNone
    ClientHeight = 36
    ClientWidth = 863
    TabOrder = 0
    object Label1: TLabel
      AnchorSideLeft.Control = btnPrev
      AnchorSideLeft.Side = asrBottom
      AnchorSideTop.Control = ToolbarPanel
      AnchorSideTop.Side = asrCenter
      Left = 551
      Height = 15
      Top = 11
      Width = 29
      BorderSpacing.Around = 5
      Caption = 'Page:'
      ParentColor = False
    end
    object Label2: TLabel
      AnchorSideLeft.Control = edtPage
      AnchorSideLeft.Side = asrBottom
      AnchorSideTop.Control = ToolbarPanel
      AnchorSideTop.Side = asrCenter
      Left = 622
      Height = 15
      Top = 11
      Width = 11
      BorderSpacing.Around = 5
      Caption = 'of'
      ParentColor = False
    end
    object lblMaxPage: TLabel
      AnchorSideLeft.Control = Label2
      AnchorSideLeft.Side = asrBottom
      AnchorSideTop.Control = ToolbarPanel
      AnchorSideTop.Side = asrCenter
      Left = 638
      Height = 1
      Top = 18
      Width = 1
      BorderSpacing.Around = 5
      ParentColor = False
    end
    object Label3: TLabel
      AnchorSideLeft.Control = btnSelectPrinter
      AnchorSideLeft.Side = asrBottom
      AnchorSideTop.Control = ToolbarPanel
      AnchorSideTop.Side = asrCenter
      Left = 170
      Height = 15
      Top = 11
      Width = 35
      BorderSpacing.Around = 5
      Caption = 'Zoom:'
      ParentColor = False
    end
    object btnPrint: TButton
      AnchorSideTop.Control = ToolbarPanel
      AnchorSideTop.Side = asrCenter
      Left = 5
      Height = 25
      Top = 6
      Width = 51
      AutoSize = True
      BorderSpacing.Around = 5
      Caption = 'Print'
      Default = True
      OnClick = btnPrintClick
      TabOrder = 0
    end
    object btnFirst: TButton
      AnchorSideLeft.Control = btnFit
      AnchorSideLeft.Side = asrBottom
      AnchorSideTop.Control = ToolbarPanel
      AnchorSideTop.Side = asrCenter
      Left = 465
      Height = 25
      Top = 6
      Width = 42
      AutoSize = True
      BorderSpacing.Around = 5
      Caption = '<<'
      OnClick = btnFirstClick
      TabOrder = 6
    end
    object btnPrev: TButton
      AnchorSideLeft.Control = btnFirst
      AnchorSideLeft.Side = asrBottom
      AnchorSideTop.Control = ToolbarPanel
      AnchorSideTop.Side = asrCenter
      Left = 512
      Height = 25
      Top = 6
      Width = 34
      AutoSize = True
      BorderSpacing.Around = 5
      Caption = '<'
      OnClick = btnPrevClick
      TabOrder = 7
    end
    object btnNext: TButton
      AnchorSideLeft.Control = lblMaxPage
      AnchorSideLeft.Side = asrBottom
      AnchorSideTop.Control = ToolbarPanel
      AnchorSideTop.Side = asrCenter
      Left = 644
      Height = 25
      Top = 6
      Width = 34
      AutoSize = True
      BorderSpacing.Around = 5
      Caption = '>'
      OnClick = btnNextClick
      TabOrder = 9
    end
    object btnLast: TButton
      AnchorSideLeft.Control = btnNext
      AnchorSideLeft.Side = asrBottom
      AnchorSideTop.Control = ToolbarPanel
      AnchorSideTop.Side = asrCenter
      Left = 683
      Height = 25
      Top = 6
      Width = 42
      AutoSize = True
      BorderSpacing.Around = 5
      Caption = '>>'
      OnClick = btnLastClick
      TabOrder = 10
    end
    object btnClose: TButton
      AnchorSideLeft.Control = btnLast
      AnchorSideLeft.Side = asrBottom
      AnchorSideTop.Control = ToolbarPanel
      AnchorSideTop.Side = asrCenter
      Left = 746
      Height = 25
      Top = 6
      Width = 55
      AutoSize = True
      BorderSpacing.Left = 16
      BorderSpacing.Around = 5
      Caption = 'Close'
      ModalResult = 2
      TabOrder = 11
    end
    object edtPage: TEdit
      AnchorSideLeft.Control = Label1
      AnchorSideLeft.Side = asrBottom
      AnchorSideTop.Control = ToolbarPanel
      AnchorSideTop.Side = asrCenter
      Left = 585
      Height = 23
      Top = 7
      Width = 32
      Alignment = taRightJustify
      BorderSpacing.Around = 5
      OnChange = edtPageChange
      TabOrder = 8
      Text = '1'
    end
    object btnSelectPrinter: TButton
      AnchorSideLeft.Control = btnPrint
      AnchorSideLeft.Side = asrBottom
      AnchorSideTop.Control = ToolbarPanel
      AnchorSideTop.Side = asrCenter
      Left = 61
      Height = 25
      Top = 6
      Width = 104
      AutoSize = True
      BorderSpacing.Around = 5
      Caption = 'Select printer...'
      OnClick = btnSelectPrinterClick
      TabOrder = 1
    end
    object edtZoom: TSpinEdit
      AnchorSideLeft.Control = Label3
      AnchorSideLeft.Side = asrBottom
      AnchorSideTop.Control = ToolbarPanel
      AnchorSideTop.Side = asrCenter
      Left = 210
      Height = 23
      Top = 7
      Width = 61
      Alignment = taRightJustify
      BorderSpacing.Around = 5
      MaxValue = 1000
      MinValue = 1
      OnChange = edtZoomChange
      TabOrder = 2
      Value = 100
    end
    object btnFitHeight: TButton
      AnchorSideLeft.Control = edtZoom
      AnchorSideLeft.Side = asrBottom
      AnchorSideTop.Control = ToolbarPanel
      AnchorSideTop.Side = asrCenter
      Left = 276
      Height = 25
      Top = 6
      Width = 62
      AutoSize = True
      BorderSpacing.Around = 5
      Caption = 'Height'
      OnClick = btnFitHeightClick
      TabOrder = 3
    end
    object btnFitWidth: TButton
      AnchorSideLeft.Control = btnFitHeight
      AnchorSideLeft.Side = asrBottom
      AnchorSideTop.Control = ToolbarPanel
      AnchorSideTop.Side = asrCenter
      Left = 343
      Height = 25
      Top = 6
      Width = 58
      AutoSize = True
      BorderSpacing.Around = 5
      Caption = 'Width'
      OnClick = btnFitWidthClick
      TabOrder = 4
    end
    object btnFit: TButton
      AnchorSideLeft.Control = btnFitWidth
      AnchorSideLeft.Side = asrBottom
      AnchorSideTop.Control = ToolbarPanel
      AnchorSideTop.Side = asrCenter
      Left = 406
      Height = 25
      Top = 6
      Width = 54
      AutoSize = True
      BorderSpacing.Around = 5
      Caption = 'Fit all'
      OnClick = btnFitClick
      TabOrder = 5
    end
  end
  object ScrollBox1: TScrollBox
    Left = 0
    Height = 462
    Top = 36
    Width = 863
    HorzScrollBar.Page = 158
    HorzScrollBar.Tracking = True
    VertScrollBar.Page = 125
    VertScrollBar.Tracking = True
    Align = alClient
    ClientHeight = 458
    ClientWidth = 859
    Color = clBtnFace
    ParentColor = False
    TabOrder = 1
    object PaperPanel: TPanel
      Left = 0
      Height = 125
      Top = 0
      Width = 158
      BevelOuter = bvNone
      ClientHeight = 125
      ClientWidth = 158
      Color = clWhite
      ParentColor = False
      TabOrder = 0
      object PaintBox1: TPaintBox
        Left = 24
        Height = 101
        Top = 24
        Width = 134
        OnPaint = PaintBox1Paint
      end
    end
  end
end