home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 March / Chip_2002-03_cd1.bin / zkuste / delphi / kompon / d56 / SCLED10.ZIP / SCLED10 / DEMO / SCLEDDemo_MainUnit.dfm < prev    next >
Text File  |  2001-12-30  |  20KB  |  754 lines

  1. object DemoForm: TDemoForm
  2.   Left = 201
  3.   Top = 185
  4.   BorderStyle = bsSingle
  5.   Caption = 
  6.     'TSCLED 1.0 Demo by Safak Cinar, Dec 29 2001, http://members.shaw' +
  7.     '.ca/safak/'
  8.   ClientHeight = 475
  9.   ClientWidth = 686
  10.   Color = clBtnFace
  11.   Font.Charset = DEFAULT_CHARSET
  12.   Font.Color = clWindowText
  13.   Font.Height = -11
  14.   Font.Name = 'MS Sans Serif'
  15.   Font.Style = []
  16.   OldCreateOrder = False
  17.   Position = poDesktopCenter
  18.   OnShow = FormShow
  19.   PixelsPerInch = 96
  20.   TextHeight = 13
  21.   object PageControl1: TPageControl
  22.     Left = 0
  23.     Top = 0
  24.     Width = 686
  25.     Height = 475
  26.     ActivePage = TabSheet4
  27.     Align = alClient
  28.     TabOrder = 0
  29.     TabWidth = 90
  30.     OnChange = PageControl1Change
  31.     object TabSheet4: TTabSheet
  32.       Caption = 'About'
  33.       ImageIndex = 3
  34.       object Label10: TLabel
  35.         Left = 8
  36.         Top = 104
  37.         Width = 245
  38.         Height = 20
  39.         Caption = 'http://members.shaw.ca/safak/'
  40.         Font.Charset = DEFAULT_CHARSET
  41.         Font.Color = clBlue
  42.         Font.Height = -16
  43.         Font.Name = 'MS Sans Serif'
  44.         Font.Style = [fsBold, fsUnderline]
  45.         ParentFont = False
  46.         OnClick = Label10Click
  47.       end
  48.       object Label11: TLabel
  49.         Left = 8
  50.         Top = 136
  51.         Width = 180
  52.         Height = 20
  53.         Caption = 'mailto:safak@shaw.ca'
  54.         Font.Charset = DEFAULT_CHARSET
  55.         Font.Color = clBlue
  56.         Font.Height = -16
  57.         Font.Name = 'MS Sans Serif'
  58.         Font.Style = [fsBold, fsUnderline]
  59.         ParentFont = False
  60.         OnClick = Label10Click
  61.       end
  62.       object Label12: TLabel
  63.         Left = 8
  64.         Top = 72
  65.         Width = 207
  66.         Height = 20
  67.         Caption = 'Safak Cinar, Dec 29 2001'
  68.         Font.Charset = DEFAULT_CHARSET
  69.         Font.Color = clWindowText
  70.         Font.Height = -16
  71.         Font.Name = 'MS Sans Serif'
  72.         Font.Style = [fsBold]
  73.         ParentFont = False
  74.       end
  75.       object Label13: TLabel
  76.         Left = 336
  77.         Top = 72
  78.         Width = 335
  79.         Height = 16
  80.         Alignment = taRightJustify
  81.         Caption = '(based on the component TDynaLED 1.0 by Samson Fu)'
  82.         Font.Charset = DEFAULT_CHARSET
  83.         Font.Color = clWindowText
  84.         Font.Height = -13
  85.         Font.Name = 'MS Sans Serif'
  86.         Font.Style = []
  87.         ParentFont = False
  88.       end
  89.       object LED5: TSCLED
  90.         Left = 8
  91.         Top = 8
  92.         Width = 665
  93.         Height = 49
  94.         LEDCountX = 221
  95.         LEDCountY = 16
  96.         AlignmentH = schaCenter
  97.         AlignmentV = scvaCenter
  98.         Caption = 'TSCLED 1.0'
  99.         Color = clBlack
  100.         Font.Charset = DEFAULT_CHARSET
  101.         Font.Color = clWindowText
  102.         Font.Height = -11
  103.         Font.Name = 'MS Sans Serif'
  104.         Font.Style = [fsBold]
  105.         ParentFont = False
  106.         ParentColor = False
  107.       end
  108.       object RichEdit5: TRichEdit
  109.         Left = 0
  110.         Top = 176
  111.         Width = 678
  112.         Height = 271
  113.         Align = alBottom
  114.         Alignment = taCenter
  115.         BorderStyle = bsNone
  116.         Font.Charset = DEFAULT_CHARSET
  117.         Font.Color = clWindowText
  118.         Font.Height = -16
  119.         Font.Name = 'MS Sans Serif'
  120.         Font.Style = []
  121.         Lines.Strings = (
  122.           'You are free to use and modify this component in any project'
  123.           '(freeware or commercial) but cannot sell or distribute'
  124.           'the component itself (whether as source code or in'
  125.           'compiled form), individually or bundled in a package without'
  126.           'prior written consent from the author.'
  127.           ''
  128.           
  129.             'That out of the way, feel free to modify the code. If you publis' +
  130.             'h'
  131.           'your own component based on this one, make it freeware with'
  132.           'full source code and drop me a note. Alternatively, you can send'
  133.           
  134.             'me your ideas, suggestions and bug reports and I will try to inc' +
  135.             'lude'
  136.           
  137.             'the functionality in the next version, with proper credit of cou' +
  138.             'rse.')
  139.         ParentColor = True
  140.         ParentFont = False
  141.         ReadOnly = True
  142.         ScrollBars = ssVertical
  143.         TabOrder = 0
  144.       end
  145.     end
  146.     object TabSheet1: TTabSheet
  147.       Caption = 'Basics'
  148.       object LED1: TSCLED
  149.         Left = 8
  150.         Top = 8
  151.         Width = 249
  152.         Height = 137
  153.         Lines.Strings = (
  154.           'SCLED'
  155.           'TEST')
  156.         ForeColor = clRed
  157.         BackColor = clMaroon
  158.         LEDCountX = 83
  159.         LEDCountY = 45
  160.         AlignmentH = schaCenter
  161.         AlignmentV = scvaCenter
  162.         OnAfterDrawText = LED1AfterDrawText
  163.         AutoSize = False
  164.         Caption = 'LED1'
  165.         Color = clBlack
  166.         Font.Charset = DEFAULT_CHARSET
  167.         Font.Color = clWindowText
  168.         Font.Height = -11
  169.         Font.Name = 'MS Sans Serif'
  170.         Font.Style = [fsBold]
  171.         ParentFont = False
  172.         ParentColor = False
  173.       end
  174.       object Label1: TLabel
  175.         Left = 8
  176.         Top = 152
  177.         Width = 28
  178.         Height = 13
  179.         Caption = 'Lines:'
  180.       end
  181.       object ForePanel: TPanel
  182.         Left = 208
  183.         Top = 152
  184.         Width = 49
  185.         Height = 25
  186.         BevelInner = bvRaised
  187.         BevelOuter = bvLowered
  188.         Caption = 'Fore'
  189.         TabOrder = 0
  190.         OnClick = ForePanelClick
  191.       end
  192.       object BackPanel: TPanel
  193.         Left = 208
  194.         Top = 176
  195.         Width = 49
  196.         Height = 25
  197.         BevelInner = bvRaised
  198.         BevelOuter = bvLowered
  199.         Caption = 'Back'
  200.         TabOrder = 1
  201.         OnClick = BackPanelClick
  202.       end
  203.       object ColorPanel: TPanel
  204.         Left = 208
  205.         Top = 200
  206.         Width = 49
  207.         Height = 25
  208.         BevelInner = bvRaised
  209.         BevelOuter = bvLowered
  210.         Caption = 'Color'
  211.         TabOrder = 2
  212.         OnClick = ColorPanelClick
  213.       end
  214.       object LinesMemo: TMemo
  215.         Left = 40
  216.         Top = 152
  217.         Width = 161
  218.         Height = 57
  219.         TabOrder = 3
  220.         WordWrap = False
  221.         OnChange = LinesMemoChange
  222.       end
  223.       object FontButton: TButton
  224.         Left = 208
  225.         Top = 246
  226.         Width = 49
  227.         Height = 25
  228.         Caption = 'Font'
  229.         TabOrder = 4
  230.         OnClick = FontButtonClick
  231.       end
  232.       object GroupBox1: TGroupBox
  233.         Left = 5
  234.         Top = 240
  235.         Width = 97
  236.         Height = 57
  237.         Caption = 'LED Style'
  238.         TabOrder = 5
  239.         object Style1Radio: TRadioButton
  240.           Left = 8
  241.           Top = 16
  242.           Width = 81
  243.           Height = 17
  244.           Caption = 'sclsSquare'
  245.           TabOrder = 0
  246.           OnClick = StyleRadioClick
  247.         end
  248.         object Style2Radio: TRadioButton
  249.           Left = 8
  250.           Top = 32
  251.           Width = 81
  252.           Height = 17
  253.           Caption = 'sclsRound'
  254.           TabOrder = 1
  255.           OnClick = StyleRadioClick
  256.         end
  257.       end
  258.       object GroupBox2: TGroupBox
  259.         Left = 104
  260.         Top = 240
  261.         Width = 97
  262.         Height = 57
  263.         Caption = 'Clip Mode'
  264.         TabOrder = 6
  265.         object Clip1Radio: TRadioButton
  266.           Left = 8
  267.           Top = 16
  268.           Width = 81
  269.           Height = 17
  270.           Caption = 'sccmText'
  271.           TabOrder = 0
  272.           OnClick = ClipModeRadioClick
  273.         end
  274.         object Clip2Radio: TRadioButton
  275.           Left = 8
  276.           Top = 32
  277.           Width = 81
  278.           Height = 17
  279.           Caption = 'sccmDisplay'
  280.           TabOrder = 1
  281.           OnClick = ClipModeRadioClick
  282.         end
  283.       end
  284.       object AfterDrawCheck: TCheckBox
  285.         Left = 40
  286.         Top = 216
  287.         Width = 129
  288.         Height = 17
  289.         Caption = 'Enable OnAfterDraw'
  290.         TabOrder = 7
  291.         OnClick = AfterDrawCheckClick
  292.       end
  293.       object RichEdit1: TRichEdit
  294.         Left = 264
  295.         Top = 0
  296.         Width = 414
  297.         Height = 447
  298.         Align = alRight
  299.         ParentColor = True
  300.         PlainText = True
  301.         ReadOnly = True
  302.         ScrollBars = ssVertical
  303.         TabOrder = 8
  304.       end
  305.       object GroupBox3: TGroupBox
  306.         Left = 5
  307.         Top = 298
  308.         Width = 97
  309.         Height = 65
  310.         Caption = 'LED'
  311.         TabOrder = 9
  312.         object Label4: TLabel
  313.           Left = 9
  314.           Top = 18
  315.           Width = 23
  316.           Height = 13
  317.           Caption = 'Size:'
  318.         end
  319.         object Label5: TLabel
  320.           Left = 11
  321.           Top = 42
  322.           Width = 21
  323.           Height = 13
  324.           Caption = 'Dist:'
  325.         end
  326.         object SizeCombo: TComboBox
  327.           Left = 40
  328.           Top = 14
  329.           Width = 49
  330.           Height = 21
  331.           Style = csDropDownList
  332.           ItemHeight = 13
  333.           TabOrder = 0
  334.           OnChange = SizeComboChange
  335.           Items.Strings = (
  336.             '1'
  337.             '2'
  338.             '3'
  339.             '4'
  340.             '5'
  341.             '6'
  342.             '7'
  343.             '8')
  344.         end
  345.         object DistCombo: TComboBox
  346.           Left = 40
  347.           Top = 38
  348.           Width = 49
  349.           Height = 21
  350.           Style = csDropDownList
  351.           ItemHeight = 13
  352.           TabOrder = 1
  353.           OnChange = DistComboChange
  354.           Items.Strings = (
  355.             '0'
  356.             '1'
  357.             '2'
  358.             '3'
  359.             '4')
  360.         end
  361.       end
  362.       object GroupBox4: TGroupBox
  363.         Left = 104
  364.         Top = 298
  365.         Width = 153
  366.         Height = 65
  367.         Caption = 'Alignment'
  368.         TabOrder = 10
  369.         object Label2: TLabel
  370.           Left = 13
  371.           Top = 18
  372.           Width = 11
  373.           Height = 13
  374.           Caption = 'H:'
  375.         end
  376.         object Label3: TLabel
  377.           Left = 14
  378.           Top = 42
  379.           Width = 10
  380.           Height = 13
  381.           Caption = 'V:'
  382.         end
  383.         object HAlignCombo: TComboBox
  384.           Left = 32
  385.           Top = 14
  386.           Width = 113
  387.           Height = 21
  388.           Style = csDropDownList
  389.           ItemHeight = 13
  390.           TabOrder = 0
  391.           OnChange = HAlignComboChange
  392.           Items.Strings = (
  393.             'scvaLeft'
  394.             'scvaCenter'
  395.             'scvaRight')
  396.         end
  397.         object VAlignCombo: TComboBox
  398.           Left = 32
  399.           Top = 38
  400.           Width = 113
  401.           Height = 21
  402.           Style = csDropDownList
  403.           ItemHeight = 13
  404.           TabOrder = 1
  405.           OnChange = VAlignComboChange
  406.           Items.Strings = (
  407.             'scvaTop'
  408.             'scvaCenter'
  409.             'scvaBottom')
  410.         end
  411.       end
  412.       object GroupBox5: TGroupBox
  413.         Left = 8
  414.         Top = 366
  415.         Width = 249
  416.         Height = 73
  417.         Caption = 'Offset'
  418.         TabOrder = 11
  419.         object Label6: TLabel
  420.           Left = 8
  421.           Top = 21
  422.           Width = 10
  423.           Height = 13
  424.           Caption = 'X:'
  425.         end
  426.         object Label7: TLabel
  427.           Left = 8
  428.           Top = 48
  429.           Width = 10
  430.           Height = 13
  431.           Caption = 'Y:'
  432.         end
  433.         object OffsetXBox: TEdit
  434.           Left = 32
  435.           Top = 17
  436.           Width = 41
  437.           Height = 21
  438.           TabOrder = 0
  439.           Text = '0'
  440.           OnChange = OffsetXBoxChange
  441.         end
  442.         object OffsetXTrack: TTrackBar
  443.           Left = 72
  444.           Top = 16
  445.           Width = 169
  446.           Height = 25
  447.           Max = 20
  448.           Min = -20
  449.           Orientation = trHorizontal
  450.           Frequency = 1
  451.           Position = 0
  452.           SelEnd = 0
  453.           SelStart = 0
  454.           TabOrder = 1
  455.           TickMarks = tmBottomRight
  456.           TickStyle = tsNone
  457.           OnChange = OffsetXTrackChange
  458.         end
  459.         object OffsetYBox: TEdit
  460.           Left = 32
  461.           Top = 44
  462.           Width = 41
  463.           Height = 21
  464.           TabOrder = 2
  465.           Text = '0'
  466.           OnChange = OffsetYBoxChange
  467.         end
  468.         object OffsetYTrack: TTrackBar
  469.           Left = 72
  470.           Top = 43
  471.           Width = 169
  472.           Height = 25
  473.           Max = 20
  474.           Min = -20
  475.           Orientation = trHorizontal
  476.           Frequency = 1
  477.           Position = 0
  478.           SelEnd = 0
  479.           SelStart = 0
  480.           TabOrder = 3
  481.           TickMarks = tmBottomRight
  482.           TickStyle = tsNone
  483.           OnChange = OffsetYTrackChange
  484.         end
  485.       end
  486.     end
  487.     object TabSheet2: TTabSheet
  488.       Caption = 'Animation'
  489.       ImageIndex = 1
  490.       object LED2: TSCLED
  491.         Left = 5
  492.         Top = 1
  493.         Width = 241
  494.         Height = 145
  495.         Lines.Strings = (
  496.           'TESTING'
  497.           'SCLED'
  498.           'ANIMATION')
  499.         LEDCountX = 80
  500.         LEDCountY = 48
  501.         ClipMode = sccmDisplay
  502.         AlignmentH = schaCenter
  503.         AlignmentV = scvaCenter
  504.         OnAfterDrawText = LED2AfterDrawText
  505.         Caption = 'LED2'
  506.         Color = clBlack
  507.         Font.Charset = DEFAULT_CHARSET
  508.         Font.Color = clWindowText
  509.         Font.Height = -11
  510.         Font.Name = 'MS Sans Serif'
  511.         Font.Style = [fsBold]
  512.         ParentFont = False
  513.         ParentColor = False
  514.       end
  515.       object AnimsCombo: TComboBox
  516.         Left = 2
  517.         Top = 181
  518.         Width = 674
  519.         Height = 23
  520.         Style = csDropDownList
  521.         DropDownCount = 20
  522.         Font.Charset = DEFAULT_CHARSET
  523.         Font.Color = clWindowText
  524.         Font.Height = -11
  525.         Font.Name = 'Fixedsys'
  526.         Font.Style = []
  527.         ItemHeight = 15
  528.         ParentFont = False
  529.         TabOrder = 2
  530.         OnChange = AnimsComboChange
  531.         Items.Strings = (
  532.           'LED2.Animate(1,200,10,0,0,0);'
  533.           'LED2.Animate(2,200,10,0,0,0);'
  534.           'LED2.Animate(3,200,10,0,0,0);'
  535.           'LED2.Animate(4,1,36,10,LED2.Bitmap.Width Div 2,0);'
  536.           'LED2.Animate(5,1,36,10,LED2.Bitmap.Height Div 2,0);'
  537.           'LED2.Animate(6,1,36,10,LED2.Bitmap.Width Div 2,0);'
  538.           'LED2.Animate(7,1,36,10,LED2.Bitmap.Height Div 2,0);'
  539.           
  540.             'LED2.Animate(8,1,144,5,LED2.Bitmap.Width Div 2,LED2.Bitmap.Heigh' +
  541.             't Div 2);'
  542.           
  543.             'LED2.Animate(9,1,72,5,LED2.Bitmap.Width Div 2,LED2.Bitmap.Height' +
  544.             ' Div 2);'
  545.           'LED2.Animate(10,1,LED2.LEDCountX,2,LED2.LEDCountX*2,0);'
  546.           'LED2.Animate(11,1,LED2.LEDCountY,2,LED2.LEDCountY*2,0);'
  547.           'LED2.Animate(12,1,LED2.LEDCountX,4,0,0);'
  548.           'LED2.Animate(13,1,LED2.LEDCountY,4,0,0);')
  549.       end
  550.       object CycleAnimation: TButton
  551.         Left = 48
  552.         Top = 152
  553.         Width = 75
  554.         Height = 25
  555.         Caption = 'Cycle All'
  556.         TabOrder = 0
  557.         OnClick = CycleAnimationClick
  558.       end
  559.       object StopCycleButton: TButton
  560.         Left = 128
  561.         Top = 152
  562.         Width = 75
  563.         Height = 25
  564.         Caption = 'Stop Cycle'
  565.         TabOrder = 1
  566.         OnClick = StopCycleButtonClick
  567.       end
  568.       object RichEdit2: TRichEdit
  569.         Left = 256
  570.         Top = 2
  571.         Width = 417
  572.         Height = 176
  573.         BorderStyle = bsNone
  574.         Font.Charset = DEFAULT_CHARSET
  575.         Font.Color = clWindowText
  576.         Font.Height = -11
  577.         Font.Name = 'Fixedsys'
  578.         Font.Style = []
  579.         Lines.Strings = (
  580.           'The rectangle around the text is drawn by '
  581.           'assigning some code to the OnAfterDrawText '
  582.           'event handler:'
  583.           ''
  584.           'procedure TForm.LED2AfterDrawText(Sender:TObject);'
  585.           'begin'
  586.           '  with LED2.Bitmap.Canvas do'
  587.           '    Brush.Color:=clWhite;'
  588.           '    FrameRect(ClipRect);'
  589.           '  end;'
  590.           'end;')
  591.         ParentColor = True
  592.         ParentFont = False
  593.         ReadOnly = True
  594.         TabOrder = 3
  595.         WordWrap = False
  596.       end
  597.       object RichEdit3: TRichEdit
  598.         Left = 0
  599.         Top = 205
  600.         Width = 678
  601.         Height = 242
  602.         Align = alBottom
  603.         Font.Charset = DEFAULT_CHARSET
  604.         Font.Color = clWindowText
  605.         Font.Height = -13
  606.         Font.Name = 'Fixedsys'
  607.         Font.Style = []
  608.         ParentColor = True
  609.         ParentFont = False
  610.         ReadOnly = True
  611.         ScrollBars = ssVertical
  612.         TabOrder = 4
  613.         WordWrap = False
  614.       end
  615.     end
  616.     object TabSheet3: TTabSheet
  617.       Caption = 'More examples'
  618.       ImageIndex = 2
  619.       object LED3: TSCLED
  620.         Left = 8
  621.         Top = 8
  622.         Width = 161
  623.         Height = 65
  624.         ForeColor = clYellow
  625.         BackColor = 24158
  626.         LEDSize = 3
  627.         LEDCountX = 40
  628.         LEDCountY = 16
  629.         LEDStyle = sclsRound
  630.         AlignmentH = schaLeft
  631.         AlignmentV = scvaCenter
  632.         Caption = 
  633.           'This is a long caption so if you want to be able to see it all w' +
  634.           'hen scrolling, set ClipMode to sccmText...'
  635.         Color = clBlack
  636.         Font.Charset = DEFAULT_CHARSET
  637.         Font.Color = clWindowText
  638.         Font.Height = -11
  639.         Font.Name = 'MS Sans Serif'
  640.         Font.Style = [fsBold]
  641.         ParentFont = False
  642.         ParentColor = False
  643.       end
  644.       object LED4: TSCLED
  645.         Left = 7
  646.         Top = 112
  647.         Width = 641
  648.         Height = 21
  649.         LEDSize = 19
  650.         LEDCountX = 32
  651.         LEDCountY = 1
  652.         LEDStyle = sclsRound
  653.         ClipMode = sccmDisplay
  654.         AlignmentH = schaCenter
  655.         AlignmentV = scvaCenter
  656.         Color = clBlack
  657.         ParentColor = False
  658.       end
  659.       object Label8: TLabel
  660.         Left = 8
  661.         Top = 80
  662.         Width = 528
  663.         Height = 15
  664.         Caption = 
  665.           'LED3.Animate(10,50,LED3.Bitmap.Width+50,1,LED3.Bitmap.Width+50,0' +
  666.           ');'
  667.         Font.Charset = DEFAULT_CHARSET
  668.         Font.Color = clWindowText
  669.         Font.Height = -11
  670.         Font.Name = 'Fixedsys'
  671.         Font.Style = []
  672.         ParentFont = False
  673.       end
  674.       object ScrollButton: TButton
  675.         Left = 174
  676.         Top = 48
  677.         Width = 99
  678.         Height = 25
  679.         Caption = 'Scroll'
  680.         TabOrder = 0
  681.         OnClick = ScrollButtonClick
  682.       end
  683.       object NumberBox: TEdit
  684.         Left = 7
  685.         Top = 139
  686.         Width = 137
  687.         Height = 21
  688.         TabOrder = 1
  689.         Text = '0'
  690.         OnChange = NumberBoxChange
  691.       end
  692.       object RichEdit4: TRichEdit
  693.         Left = 8
  694.         Top = 168
  695.         Width = 665
  696.         Height = 273
  697.         BorderStyle = bsNone
  698.         Font.Charset = DEFAULT_CHARSET
  699.         Font.Color = clWindowText
  700.         Font.Height = -11
  701.         Font.Name = 'Fixedsys'
  702.         Font.Style = []
  703.         Lines.Strings = (
  704.           'Procedure TDemoForm.NumberBoxChange(Sender: TObject);'
  705.           'Var'
  706.           '  i,m,n : integer;'
  707.           'Begin'
  708.           
  709.             '  Try n:=StrToInt(NumberBox.Text); Except On Exception Do n:=0; ' +
  710.             'End;'
  711.           '  m:=1;'
  712.           '  With LED4.Bitmap.Canvas Do'
  713.           '     For i:=0 To 31 Do'
  714.           '     Begin'
  715.           '       If (n And m)<>0 Then Pixels[31-i,0]:=clWhite'
  716.           '       Else Pixels[31-i,0]:=clBlack;'
  717.           '       m:=m SHL 1;'
  718.           '     End;'
  719.           '  LED4.BitmapChanged;'
  720.           'End;')
  721.         ParentColor = True
  722.         ParentFont = False
  723.         ReadOnly = True
  724.         TabOrder = 2
  725.       end
  726.       object Button1: TButton
  727.         Left = 152
  728.         Top = 138
  729.         Width = 75
  730.         Height = 25
  731.         Caption = 'Count'
  732.         TabOrder = 3
  733.         OnClick = Button1Click
  734.       end
  735.     end
  736.   end
  737.   object ColorDialog: TColorDialog
  738.     Ctl3D = True
  739.     Left = 228
  740.     Top = 40
  741.   end
  742.   object FontDialog: TFontDialog
  743.     Font.Charset = DEFAULT_CHARSET
  744.     Font.Color = clWindowText
  745.     Font.Height = -11
  746.     Font.Name = 'MS Sans Serif'
  747.     Font.Style = []
  748.     MinFontSize = 0
  749.     MaxFontSize = 0
  750.     Left = 228
  751.     Top = 136
  752.   end
  753. end
  754.