home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 March / Chip_2002-03_cd1.bin / zkuste / delphi / kompon / d5 / WAKFMON.ZIP / Demo1 / Unit1.dfm < prev    next >
Text File  |  2001-10-25  |  4KB  |  177 lines

  1. object Form1: TForm1
  2.   Left = 261
  3.   Top = 195
  4.   Width = 361
  5.   Height = 201
  6.   Caption = 'TFileMonitor Demo'
  7.   Color = clBtnFace
  8.   Font.Charset = DEFAULT_CHARSET
  9.   Font.Color = clWindowText
  10.   Font.Height = -11
  11.   Font.Name = 'MS Sans Serif'
  12.   Font.Style = []
  13.   OldCreateOrder = False
  14.   OnShow = FormShow
  15.   PixelsPerInch = 96
  16.   TextHeight = 13
  17.   object Label1: TLabel
  18.     Left = 240
  19.     Top = 16
  20.     Width = 95
  21.     Height = 13
  22.     Caption = 'Changes to look for:'
  23.   end
  24.   object Label2: TLabel
  25.     Left = 16
  26.     Top = 16
  27.     Width = 94
  28.     Height = 13
  29.     Caption = 'Directory to monitor:'
  30.   end
  31.   object ActiveLabel: TLabel
  32.     Left = 80
  33.     Top = 144
  34.     Width = 51
  35.     Height = 24
  36.     Alignment = taCenter
  37.     Caption = 'Active'
  38.     Color = clBlack
  39.     Font.Charset = DEFAULT_CHARSET
  40.     Font.Color = clRed
  41.     Font.Height = -19
  42.     Font.Name = 'MS Sans Serif'
  43.     Font.Style = []
  44.     ParentColor = False
  45.     ParentFont = False
  46.     Visible = False
  47.   end
  48.   object DirBox: TEdit
  49.     Left = 16
  50.     Top = 32
  51.     Width = 201
  52.     Height = 21
  53.     TabOrder = 0
  54.   end
  55.   object StartBtn: TButton
  56.     Left = 32
  57.     Top = 112
  58.     Width = 75
  59.     Height = 25
  60.     Caption = 'Start'
  61.     TabOrder = 1
  62.     OnClick = StartBtnClick
  63.   end
  64.   object StopBtn: TButton
  65.     Left = 136
  66.     Top = 112
  67.     Width = 75
  68.     Height = 25
  69.     Caption = 'Stop'
  70.     TabOrder = 2
  71.     OnClick = StopBtnClick
  72.   end
  73.   object CheckBox1: TCheckBox
  74.     Left = 240
  75.     Top = 32
  76.     Width = 97
  77.     Height = 17
  78.     Caption = 'File Name'
  79.     Checked = True
  80.     State = cbChecked
  81.     TabOrder = 3
  82.     OnClick = CheckBoxChange
  83.   end
  84.   object BrowseBtn: TButton
  85.     Left = 144
  86.     Top = 56
  87.     Width = 75
  88.     Height = 25
  89.     Caption = 'Browse'
  90.     TabOrder = 4
  91.     OnClick = BrowseBtnClick
  92.   end
  93.   object CheckBox2: TCheckBox
  94.     Left = 240
  95.     Top = 51
  96.     Width = 97
  97.     Height = 17
  98.     Caption = 'Directory Name'
  99.     Checked = True
  100.     State = cbChecked
  101.     TabOrder = 5
  102.     OnClick = CheckBoxChange
  103.   end
  104.   object CheckBox3: TCheckBox
  105.     Left = 240
  106.     Top = 70
  107.     Width = 97
  108.     Height = 17
  109.     Caption = 'Attributes'
  110.     Checked = True
  111.     State = cbChecked
  112.     TabOrder = 6
  113.     OnClick = CheckBoxChange
  114.   end
  115.   object CheckBox4: TCheckBox
  116.     Left = 240
  117.     Top = 89
  118.     Width = 97
  119.     Height = 17
  120.     Caption = 'Size'
  121.     Checked = True
  122.     State = cbChecked
  123.     TabOrder = 7
  124.     OnClick = CheckBoxChange
  125.   end
  126.   object CheckBox5: TCheckBox
  127.     Left = 240
  128.     Top = 108
  129.     Width = 97
  130.     Height = 17
  131.     Caption = 'Last Write Time'
  132.     Checked = True
  133.     State = cbChecked
  134.     TabOrder = 8
  135.     OnClick = CheckBoxChange
  136.   end
  137.   object CheckBox6: TCheckBox
  138.     Left = 240
  139.     Top = 127
  140.     Width = 105
  141.     Height = 17
  142.     Caption = 'Last Access Time'
  143.     TabOrder = 9
  144.     OnClick = CheckBoxChange
  145.   end
  146.   object CheckBox7: TCheckBox
  147.     Left = 240
  148.     Top = 146
  149.     Width = 97
  150.     Height = 17
  151.     Caption = 'Security'
  152.     TabOrder = 10
  153.     OnClick = CheckBoxChange
  154.   end
  155.   object SubDirChkBox: TCheckBox
  156.     Left = 32
  157.     Top = 88
  158.     Width = 137
  159.     Height = 17
  160.     Caption = 'Watch Subdirectories'
  161.     Checked = True
  162.     State = cbChecked
  163.     TabOrder = 11
  164.   end
  165.   object FileMonitor: TFileMonitor
  166.     Active = False
  167.     AttrFlags = [fcFileName, fcDirName, fcFileAttr, fcFileSize, fcFileWriteTime]
  168.     Priority = tpNormal
  169.     SubDirs = False
  170.     OnChange = FileMonitorChange
  171.     OnStart = FileMonitorStart
  172.     OnStop = FileMonitorStop
  173.     Left = 32
  174.     Top = 56
  175.   end
  176. end
  177.