source: trunk/Packages/bgracontrols/customdrawn_win7/utest.lfm

Last change on this file was 2, checked in by chronos, 5 years ago
File size: 16.4 KB
Line 
1object frmTest: TfrmTest
2 Left = 278
3 Height = 514
4 Top = 101
5 Width = 970
6 Caption = 'Test Custom Drawn Windows 7'
7 ClientHeight = 514
8 ClientWidth = 970
9 Font.Height = -14
10 OnCreate = FormCreate
11 Position = poDesktopCenter
12 LCLVersion = '1.1'
13 WindowState = wsMaximized
14 object BGRAVirtualScreen1: TBGRAVirtualScreen
15 Left = 0
16 Height = 514
17 Top = 0
18 Width = 970
19 OnRedraw = BGRAVirtualScreen1Redraw
20 Align = alClient
21 Alignment = taLeftJustify
22 ClientHeight = 514
23 ClientWidth = 970
24 Color = clWhite
25 ParentColor = False
26 TabOrder = 0
27 object CDButton10: TCDButton
28 Left = 648
29 Height = 36
30 Top = 8
31 Width = 152
32 Caption = 'Enable / Disable'
33 DrawStyle = dsDefault
34 OnClick = CDButton10Click
35 TabOrder = 0
36 TabStop = True
37 end
38 object CDButton1: TCDButton
39 Left = 8
40 Height = 36
41 Top = 8
42 Width = 152
43 Caption = 'Change DPI'
44 DrawStyle = dsDefault
45 OnClick = CDButton1Click
46 TabOrder = 1
47 TabStop = True
48 end
49 object CDButton2: TCDButton
50 Left = 168
51 Height = 36
52 Top = 8
53 Width = 152
54 Caption = 'Extra Tickmark'
55 DrawStyle = dsDefault
56 OnClick = CDButton2Click
57 TabOrder = 2
58 TabStop = True
59 end
60 object CDButton3: TCDButton
61 Left = 808
62 Height = 95
63 Top = 8
64 Width = 152
65 Caption = 'w r o n g w a y'
66 DrawStyle = dsDefault
67 Glyph.Data = {
68 36090000424D3609000000000000360000002800000018000000180000000100
69 2000000000000009000064000000640000000000000000000000FFFFFF00FFFF
70 FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
71 FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
72 FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
73 FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
74 FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
75 FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00000000020000
76 00050000000900000011000000180000001E0000002300000025000000270000
77 0027000000270000002700000027000000270000002700000026000000230000
78 001F00000019000000120000000B000000050000000200000001000000010000
79 000200000005000000090156ACFF0156ABFF0156ACFF0158ADFF015AAFFF015C
80 B0FF015EB2FF015FB3FF015FB3FF015EB2FF015CB1FF015AAFFF0157ADFF0155
81 ABFF0154AAFF0154A9FF00000006000000030000000100000000FFFFFF00FFFF
82 FF00FFFFFF00FFFFFF00025BAFFF44B8F3FF45B9F3FF46BAF3FF48BBF3FF49BD
83 F4FF4BBEF4FF4CBFF4FF4CBFF4FF4BBEF4FF4ABDF4FF48BBF3FF45B9F3FF43B7
84 F2FF42B7F2FF0158ACFFFFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
85 FF00FFFFFF00FFFFFF000362B2FF46BCF3FF20ACF1FF21ADF1FF22AFF1FF23B0
86 F2FF2CB7F3FF33BDF4FF33BDF4FF2CB7F3FF23B0F2FF22AFF1FF20ADF1FF1FAB
87 F0FF44BAF2FF035EAFFFFFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
88 FF00FFFFFF00FFFFFF000468B6FF4AC0F4FF23B1F2FF23B2F2FF24B3F2FF25B4
89 F3FF24A3DAFF1291C5FF1291C5FF24A3DAFF25B4F3FF24B3F2FF23B1F2FF22AF
90 F2FF47BEF4FF0464B3FFFFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
91 FF00FFFFFF00FFFFFF00056FB9FF51C5F6FF2AB8F3FF2AB8F3FF2BB8F4FF28B7
92 F4FF1185BEFF128FC4FF128FC4FF1185BEFF28B7F4FF2BB8F4FF2AB7F3FF29B6
93 F3FF4EC2F5FF056AB5FFFFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
94 FF00FFFFFF00FFFFFF000674BBFF47BFF5FF23B0F1FF24B0F1FF24B1F2FF2ABA
95 F4FF1E9ED8FF128EC2FF128EC2FF1E9ED8FF2BBAF4FF24B1F2FF23AFF1FF22AE
96 F1FF44BDF3FF056FB7FFFFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
97 FF00FFFFFF00FFFFFF00087ABDFF51C7F7FF2BB9F4FF2CBAF4FF2CBBF5FF2DBC
98 F5FF2EBDF5FF1287BFFF1288BFFF2FBDF5FF2EBCF5FF2CBAF5FF2BB9F4FF2AB8
99 F4FF4EC4F6FF0774B9FFFFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
100 FF00FFFFFF00FFFFFF00087EBEFF53C9F7FF2EBBF4FF2EBBF4FF2FBCF4FF30BD
101 F5FF31BEF5FF127DB9FF127DB9FF32BFF5FF31BDF5FF2FBCF4FF2EBAF4FF2CB9
102 F4FF4FC6F6FF0778BAFFFFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
103 FF00FFFFFF00FFFFFF000982C0FF55C9F7FF31BCF4FF31BDF4FF32BDF4FF33BF
104 F4FF35C0F5FF35C0F5FF36C1F5FF35C0F5FF34BFF5FF32BDF4FF30BBF4FF2FBA
105 F4FF51C6F6FF087CBCFFFFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
106 FF00FFFFFF00FFFFFF000A86C2FF88E5FBFF88E4FBFF88E5FBFF89E5FBFF8BE5
107 FBFF8DE6FCFF8EE6FCFF8EE6FCFF8DE6FCFF8BE6FBFF89E5FBFF86E4FBFF84E3
108 FBFF83E3FBFF097FBDFFFFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
109 FF00FFFFFF00FFFFFF000B8AC3FF0A89C2FF0A88C2FF0A88C2FF0B8AC3FF0B8B
110 C4FF0B8DC5FF0B8EC6FF0B8EC6FF0B8DC5FF0B8BC4FF0A89C2FF0A86C0FF0A84
111 BFFF0983BEFF0983BEFFFFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
112 FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF008D8D8DFFE0E0E0FF8D8D
113 8DFFFFFFFF00FFFFFF00FFFFFF00FFFFFF008D8D8DFFE0E0E0FF8D8D8DFFFFFF
114 FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
115 FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF008F8F8FFFE0E0E0FF8F8F
116 8FFFFFFFFF00FFFFFF00FFFFFF00FFFFFF008F8F8FFFE0E0E0FF8F8F8FFFFFFF
117 FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
118 FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00919191F0DCDCDCFF9999
119 99FF91919118FFFFFF00FFFFFF0091919118999999FFDCDCDCFF919191F0FFFF
120 FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
121 FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00939393C3CACACAFFBABA
122 BAFF939393C09393933693939336939393C0BABABAFFC9C9C9FF939393C0FFFF
123 FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
124 FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF009595953F959595FCE0E0
125 E0FFC7C7C7FFA5A5A5FFA5A5A5FFC7C7C7FFE0E0E0FF959595FC9595953CFFFF
126 FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
127 FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF0097979778ACAC
128 ACFFD0D0D0FFE5E5E5FFE5E5E5FFD0D0D0FFACACACFF97979778FFFFFF00FFFF
129 FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
130 FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF009898
131 983F989898B1989898E4989898E4989898B19898983FFFFFFF00FFFFFF00FFFF
132 FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
133 FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
134 FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
135 FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
136 FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
137 FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
138 FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
139 FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
140 FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
141 FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00
142 }
143 TabOrder = 3
144 TabStop = True
145 end
146 object CDEdit1: TCDEdit
147 Left = 808
148 Height = 36
149 Top = 112
150 Width = 152
151 DrawStyle = dsDefault
152 end
153 object CDGroupBox1: TCDGroupBox
154 Left = 8
155 Height = 128
156 Top = 56
157 Width = 217
158 AutoSize = True
159 Caption = 'Allow Grayed Enabled'
160 DrawStyle = dsDefault
161 end
162 object cb_a_u: TCDCheckBox
163 Left = 16
164 Height = 19
165 Top = 80
166 Width = 88
167 AllowGrayed = True
168 DrawStyle = dsDefault
169 Caption = 'Unchecked'
170 end
171 object cb_a_c: TCDCheckBox
172 Left = 16
173 Height = 19
174 Top = 112
175 Width = 73
176 AllowGrayed = True
177 Checked = True
178 DrawStyle = dsDefault
179 Caption = 'Checked'
180 State = cbChecked
181 end
182 object cb_a_g: TCDCheckBox
183 Left = 16
184 Height = 19
185 Top = 144
186 Width = 65
187 AllowGrayed = True
188 DrawStyle = dsDefault
189 Caption = 'Grayed'
190 State = cbGrayed
191 end
192 object CDGroupBox2: TCDGroupBox
193 Left = 7
194 Height = 128
195 Top = 192
196 Width = 217
197 AutoSize = True
198 Caption = 'Allow Grayed Disabled'
199 DrawStyle = dsDefault
200 end
201 object cbd_a_g: TCDCheckBox
202 Left = 16
203 Height = 19
204 Top = 280
205 Width = 65
206 AllowGrayed = True
207 DrawStyle = dsDefault
208 Caption = 'Grayed'
209 Enabled = False
210 State = cbGrayed
211 end
212 object cbd_a_c: TCDCheckBox
213 Left = 16
214 Height = 19
215 Top = 248
216 Width = 73
217 AllowGrayed = True
218 Checked = True
219 DrawStyle = dsDefault
220 Caption = 'Checked'
221 Enabled = False
222 State = cbChecked
223 end
224 object cbd_a_u: TCDCheckBox
225 Left = 16
226 Height = 19
227 Top = 216
228 Width = 88
229 AllowGrayed = True
230 DrawStyle = dsDefault
231 Caption = 'Unchecked'
232 Enabled = False
233 end
234 object CDRadioButton1: TCDRadioButton
235 Left = 480
236 Height = 19
237 Top = 80
238 Width = 88
239 Caption = 'Unchecked'
240 DrawStyle = dsDefault
241 end
242 object CDRadioButton2: TCDRadioButton
243 Left = 480
244 Height = 19
245 Top = 112
246 Width = 73
247 Caption = 'Checked'
248 DrawStyle = dsDefault
249 end
250 object CDRadioButton3: TCDRadioButton
251 Left = 480
252 Height = 19
253 Top = 144
254 Width = 88
255 Caption = 'Unchecked'
256 DrawStyle = dsDefault
257 Enabled = False
258 end
259 object CDRadioButton4: TCDRadioButton
260 Left = 480
261 Height = 19
262 Top = 176
263 Width = 73
264 Caption = 'Checked'
265 Checked = True
266 DrawStyle = dsDefault
267 Enabled = False
268 end
269 object CDGroupBox3: TCDGroupBox
270 Left = 240
271 Height = 128
272 Top = 56
273 Width = 217
274 AutoSize = True
275 Caption = 'Don''t Grayed Enabled'
276 DrawStyle = dsDefault
277 end
278 object CDGroupBox4: TCDGroupBox
279 Left = 240
280 Height = 128
281 Top = 192
282 Width = 217
283 AutoSize = True
284 Caption = 'Don''t Grayed Disabled'
285 DrawStyle = dsDefault
286 end
287 object cb_u: TCDCheckBox
288 Left = 248
289 Height = 19
290 Top = 80
291 Width = 88
292 DrawStyle = dsDefault
293 Caption = 'Unchecked'
294 end
295 object cb_c: TCDCheckBox
296 Left = 248
297 Height = 19
298 Top = 112
299 Width = 73
300 Checked = True
301 DrawStyle = dsDefault
302 Caption = 'Checked'
303 State = cbChecked
304 end
305 object cb_g: TCDCheckBox
306 Left = 248
307 Height = 19
308 Top = 144
309 Width = 65
310 Checked = True
311 DrawStyle = dsDefault
312 Caption = 'Grayed'
313 State = cbChecked
314 end
315 object cbd_u: TCDCheckBox
316 Left = 248
317 Height = 19
318 Top = 216
319 Width = 88
320 DrawStyle = dsDefault
321 Caption = 'Unchecked'
322 Enabled = False
323 end
324 object cbd_c: TCDCheckBox
325 Left = 248
326 Height = 19
327 Top = 248
328 Width = 73
329 Checked = True
330 DrawStyle = dsDefault
331 Caption = 'Checked'
332 Enabled = False
333 State = cbChecked
334 end
335 object cbd_g: TCDCheckBox
336 Left = 248
337 Height = 19
338 Top = 280
339 Width = 65
340 Checked = True
341 DrawStyle = dsDefault
342 Caption = 'Grayed'
343 Enabled = False
344 State = cbChecked
345 end
346 object CDStaticText1: TCDStaticText
347 Left = 648
348 Height = 36
349 Top = 112
350 Width = 152
351 Caption = 'CDStaticText1'
352 DrawStyle = dsDefault
353 end
354 object CDProgressBar1: TCDProgressBar
355 Left = 7
356 Height = 34
357 Top = 328
358 Width = 218
359 BarShowText = False
360 DrawStyle = dsDefault
361 Max = 100
362 Orientation = pbRightToLeft
363 Position = 50
364 Smooth = False
365 Style = pbstNormal
366 end
367 object CDProgressBar2: TCDProgressBar
368 Left = 7
369 Height = 34
370 Top = 368
371 Width = 218
372 BarShowText = False
373 DrawStyle = dsDefault
374 Max = 100
375 Orientation = pbHorizontal
376 Position = 50
377 Smooth = False
378 Style = pbstNormal
379 end
380 object CDProgressBar3: TCDProgressBar
381 Left = 240
382 Height = 176
383 Top = 328
384 Width = 34
385 BarShowText = False
386 DrawStyle = dsDefault
387 Max = 100
388 Orientation = pbVertical
389 Position = 50
390 Smooth = False
391 Style = pbstNormal
392 end
393 object CDProgressBar4: TCDProgressBar
394 Left = 281
395 Height = 176
396 Top = 328
397 Width = 34
398 BarShowText = False
399 DrawStyle = dsDefault
400 Max = 100
401 Orientation = pbTopDown
402 Position = 50
403 Smooth = False
404 Style = pbstNormal
405 end
406 object CDTrackBar1: TCDTrackBar
407 Left = 6
408 Height = 40
409 Top = 416
410 Width = 218
411 Max = 100
412 Min = 0
413 OnChange = CDTrackBar1Change
414 Position = 50
415 DrawStyle = dsDefault
416 end
417 object CDTrackBar2: TCDTrackBar
418 Left = 328
419 Height = 176
420 Top = 328
421 Width = 40
422 Max = 100
423 Min = 0
424 OnChange = CDTrackBar1Change
425 Position = 50
426 DrawStyle = dsDefault
427 Orientation = trVertical
428 end
429 object CDButton4: TCDButton
430 Left = 328
431 Height = 36
432 Top = 8
433 Width = 152
434 Caption = 'Change Folder'
435 DrawStyle = dsDefault
436 OnClick = CDButton4Click
437 TabOrder = 32
438 TabStop = True
439 end
440 object CDButton5: TCDButton
441 Left = 648
442 Height = 30
443 Top = 160
444 Width = 30
445 Caption = 'arrowleft'
446 DrawStyle = dsExtra1
447 TabOrder = 33
448 TabStop = True
449 end
450 object CDButton6: TCDButton
451 Left = 728
452 Height = 30
453 Top = 160
454 Width = 30
455 Caption = 'arrowright'
456 DrawStyle = dsExtra1
457 TabOrder = 34
458 TabStop = True
459 end
460 object CDButton7: TCDButton
461 Left = 808
462 Height = 20
463 Top = 160
464 Width = 20
465 Caption = 'arrow'
466 DrawStyle = dsExtra1
467 TabOrder = 35
468 TabStop = True
469 end
470 object CDButton8: TCDButton
471 Left = 872
472 Height = 16
473 Top = 160
474 Width = 17
475 Caption = 'closebutton'
476 DrawStyle = dsExtra1
477 TabOrder = 36
478 TabStop = True
479 end
480 object CDComboBox1: TCDComboBox
481 Left = 728
482 Height = 34
483 Top = 256
484 Width = 192
485 DrawStyle = dsDefault
486 ItemIndex = -1
487 KeyboardInputBehavior = kibAutomatic
488 end
489 object CDScrollBar1: TCDScrollBar
490 Left = 728
491 Height = 18
492 Top = 304
493 Width = 192
494 Max = 100
495 Min = 0
496 Position = 0
497 DrawStyle = dsDefault
498 Kind = sbHorizontal
499 PageSize = 0
500 TabStop = False
501 end
502 object CDScrollBar2: TCDScrollBar
503 Left = 928
504 Height = 114
505 Top = 208
506 Width = 18
507 Max = 100
508 Min = 0
509 Position = 0
510 DrawStyle = dsDefault
511 Kind = sbVertical
512 PageSize = 0
513 TabStop = False
514 end
515 object CDListView1: TCDListView
516 Left = 728
517 Height = 168
518 Top = 336
519 Width = 218
520 Columns = <>
521 ScrollBars = ssBoth
522 ViewStyle = vsIcon
523 end
524 object CDPageControl1: TCDPageControl
525 Left = 464
526 Height = 104
527 Top = 400
528 Width = 232
529 DrawStyle = dsDefault
530 Caption = 'CDPageControl1'
531 PageIndex = 0
532 Options = []
533 TabIndex = 0
534 end
535 object CDPageControl2: TCDPageControl
536 Left = 464
537 Height = 184
538 Top = 208
539 Width = 232
540 ActivePage = CDTabSheet1
541 DrawStyle = dsDefault
542 Caption = 'CDPageControl2'
543 PageIndex = 1
544 Options = []
545 TabIndex = 1
546 object CDTabSheet2: TCDTabSheet
547 Left = 2
548 Height = 150
549 Top = 32
550 Width = 228
551 Caption = 'CDTabSheet2'
552 TabVisible = False
553 end
554 object CDTabSheet1: TCDTabSheet
555 Left = 2
556 Height = 150
557 Top = 32
558 Width = 228
559 Caption = 'CDTabSheet1'
560 TabVisible = False
561 end
562 end
563 object CDSpinEdit1: TCDSpinEdit
564 Left = 728
565 Height = 40
566 Top = 208
567 Width = 192
568 DrawStyle = dsDefault
569 Lines.Strings = (
570 '0'
571 )
572 Increment = 1
573 MinValue = 0
574 MaxValue = 100
575 Value = 0
576 end
577 object CDTrackBar3: TCDTrackBar
578 Left = 376
579 Height = 176
580 Top = 328
581 Width = 40
582 Max = 100
583 Min = 0
584 OnChange = CDTrackBar1Change
585 Position = 50
586 DrawStyle = dsDefault
587 Enabled = False
588 Orientation = trVertical
589 end
590 object CDTrackBar4: TCDTrackBar
591 Left = 5
592 Height = 40
593 Top = 464
594 Width = 218
595 Max = 100
596 Min = 0
597 OnChange = CDTrackBar1Change
598 Position = 50
599 DrawStyle = dsDefault
600 Enabled = False
601 end
602 object CDButton9: TCDButton
603 Left = 488
604 Height = 36
605 Top = 8
606 Width = 152
607 Caption = 'Debug'
608 DrawStyle = dsDefault
609 OnClick = CDButton9Click
610 TabOrder = 46
611 TabStop = True
612 end
613 end
614end
Note: See TracBrowser for help on using the repository browser.