MainUnit.lfm 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. object FormGradientLines: TFormGradientLines
  2. Left = 220
  3. Top = 105
  4. Caption = 'Gradient Lines Example'
  5. ClientHeight = 423
  6. ClientWidth = 623
  7. Color = clBtnFace
  8. Font.Charset = DEFAULT_CHARSET
  9. Font.Color = clWindowText
  10. Font.Height = -11
  11. Font.Name = 'Tahoma'
  12. Font.Style = []
  13. OldCreateOrder = False
  14. Position = poScreenCenter
  15. OnCreate = FormCreate
  16. DesignSize = (
  17. 623
  18. 423)
  19. PixelsPerInch = 96
  20. TextHeight = 13
  21. object LblTotal: TLabel
  22. Left = 510
  23. Top = 92
  24. Width = 28
  25. Height = 13
  26. Anchors = [akTop, akRight]
  27. Caption = 'Total:'
  28. end
  29. object PaintBox: TPaintBox32
  30. Left = 8
  31. Top = 8
  32. Width = 496
  33. Height = 409
  34. Anchors = [akLeft, akTop, akRight, akBottom]
  35. TabOrder = 0
  36. end
  37. object BtnAddOne: TButton
  38. Left = 510
  39. Top = 8
  40. Width = 105
  41. Height = 21
  42. Anchors = [akTop, akRight]
  43. Caption = 'Add One'
  44. TabOrder = 1
  45. OnClick = BtnAddOneClick
  46. end
  47. object BtnAddTen: TButton
  48. Left = 510
  49. Top = 34
  50. Width = 105
  51. Height = 21
  52. Anchors = [akTop, akRight]
  53. Caption = 'Add Ten'
  54. TabOrder = 2
  55. OnClick = BtnAddTenClick
  56. end
  57. object BtnClear: TButton
  58. Left = 510
  59. Top = 60
  60. Width = 105
  61. Height = 21
  62. Anchors = [akTop, akRight]
  63. Caption = 'Clear'
  64. TabOrder = 3
  65. OnClick = BtnClearClick
  66. end
  67. object RgpFade: TRadioGroup
  68. Left = 510
  69. Top = 224
  70. Width = 105
  71. Height = 89
  72. Anchors = [akTop, akRight]
  73. Caption = 'Fade'
  74. Ctl3D = True
  75. ItemIndex = 0
  76. Items.Strings = (
  77. 'None'
  78. 'Slow'
  79. 'Fast')
  80. ParentCtl3D = False
  81. TabOrder = 4
  82. OnClick = RgpFadeClick
  83. end
  84. object RgpDraw: TRadioGroup
  85. Left = 510
  86. Top = 136
  87. Width = 105
  88. Height = 81
  89. Anchors = [akTop, akRight]
  90. Caption = 'Draw'
  91. Ctl3D = True
  92. ItemIndex = 0
  93. Items.Strings = (
  94. 'Slow'
  95. 'Normal'
  96. 'Fast')
  97. ParentCtl3D = False
  98. TabOrder = 5
  99. OnClick = RgpDrawClick
  100. end
  101. object PnlTotalLines: TPanel
  102. Left = 511
  103. Top = 108
  104. Width = 104
  105. Height = 17
  106. Anchors = [akTop, akRight]
  107. BevelOuter = bvNone
  108. BorderStyle = bsSingle
  109. Caption = '0'
  110. Color = clWindow
  111. Ctl3D = False
  112. ParentCtl3D = False
  113. TabOrder = 6
  114. end
  115. object RepaintOpt: TCheckBox
  116. Left = 510
  117. Top = 320
  118. Width = 105
  119. Height = 17
  120. Anchors = [akTop, akRight]
  121. Caption = 'Repaint Optimization'
  122. Font.Charset = DEFAULT_CHARSET
  123. Font.Color = clWindowText
  124. Font.Height = -9
  125. Font.Name = 'Tahoma'
  126. Font.Style = []
  127. ParentFont = False
  128. TabOrder = 7
  129. OnClick = RepaintOptClick
  130. end
  131. object Memo: TMemo
  132. Left = 510
  133. Top = 343
  134. Width = 105
  135. Height = 74
  136. TabStop = False
  137. Anchors = [akTop, akRight]
  138. Color = clInfoBk
  139. Font.Charset = DEFAULT_CHARSET
  140. Font.Color = clWindowText
  141. Font.Height = -9
  142. Font.Name = 'Tahoma'
  143. Font.Style = []
  144. Lines.Strings = (
  145. 'Disable fading to see '
  146. 'effect of repaint '
  147. 'optimization.'
  148. ''
  149. '(Maximize application'
  150. 'on modern CPUs)')
  151. ParentFont = False
  152. ReadOnly = True
  153. TabOrder = 8
  154. end
  155. end