home *** CD-ROM | disk | FTP | other *** search
- object Form1: TForm1
- Left = 261
- Top = 195
- Width = 361
- Height = 201
- Caption = 'TFileMonitor Demo'
- Color = clBtnFace
- Font.Charset = DEFAULT_CHARSET
- Font.Color = clWindowText
- Font.Height = -11
- Font.Name = 'MS Sans Serif'
- Font.Style = []
- OldCreateOrder = False
- OnShow = FormShow
- PixelsPerInch = 96
- TextHeight = 13
- object Label1: TLabel
- Left = 240
- Top = 16
- Width = 95
- Height = 13
- Caption = 'Changes to look for:'
- end
- object Label2: TLabel
- Left = 16
- Top = 16
- Width = 94
- Height = 13
- Caption = 'Directory to monitor:'
- end
- object ActiveLabel: TLabel
- Left = 80
- Top = 144
- Width = 51
- Height = 24
- Alignment = taCenter
- Caption = 'Active'
- Color = clBlack
- Font.Charset = DEFAULT_CHARSET
- Font.Color = clRed
- Font.Height = -19
- Font.Name = 'MS Sans Serif'
- Font.Style = []
- ParentColor = False
- ParentFont = False
- Visible = False
- end
- object DirBox: TEdit
- Left = 16
- Top = 32
- Width = 201
- Height = 21
- TabOrder = 0
- end
- object StartBtn: TButton
- Left = 32
- Top = 112
- Width = 75
- Height = 25
- Caption = 'Start'
- TabOrder = 1
- OnClick = StartBtnClick
- end
- object StopBtn: TButton
- Left = 136
- Top = 112
- Width = 75
- Height = 25
- Caption = 'Stop'
- TabOrder = 2
- OnClick = StopBtnClick
- end
- object CheckBox1: TCheckBox
- Left = 240
- Top = 32
- Width = 97
- Height = 17
- Caption = 'File Name'
- Checked = True
- State = cbChecked
- TabOrder = 3
- OnClick = CheckBoxChange
- end
- object BrowseBtn: TButton
- Left = 144
- Top = 56
- Width = 75
- Height = 25
- Caption = 'Browse'
- TabOrder = 4
- OnClick = BrowseBtnClick
- end
- object CheckBox2: TCheckBox
- Left = 240
- Top = 51
- Width = 97
- Height = 17
- Caption = 'Directory Name'
- Checked = True
- State = cbChecked
- TabOrder = 5
- OnClick = CheckBoxChange
- end
- object CheckBox3: TCheckBox
- Left = 240
- Top = 70
- Width = 97
- Height = 17
- Caption = 'Attributes'
- Checked = True
- State = cbChecked
- TabOrder = 6
- OnClick = CheckBoxChange
- end
- object CheckBox4: TCheckBox
- Left = 240
- Top = 89
- Width = 97
- Height = 17
- Caption = 'Size'
- Checked = True
- State = cbChecked
- TabOrder = 7
- OnClick = CheckBoxChange
- end
- object CheckBox5: TCheckBox
- Left = 240
- Top = 108
- Width = 97
- Height = 17
- Caption = 'Last Write Time'
- Checked = True
- State = cbChecked
- TabOrder = 8
- OnClick = CheckBoxChange
- end
- object CheckBox6: TCheckBox
- Left = 240
- Top = 127
- Width = 105
- Height = 17
- Caption = 'Last Access Time'
- TabOrder = 9
- OnClick = CheckBoxChange
- end
- object CheckBox7: TCheckBox
- Left = 240
- Top = 146
- Width = 97
- Height = 17
- Caption = 'Security'
- TabOrder = 10
- OnClick = CheckBoxChange
- end
- object SubDirChkBox: TCheckBox
- Left = 32
- Top = 88
- Width = 137
- Height = 17
- Caption = 'Watch Subdirectories'
- Checked = True
- State = cbChecked
- TabOrder = 11
- end
- object FileMonitor: TFileMonitor
- Active = False
- AttrFlags = [fcFileName, fcDirName, fcFileAttr, fcFileSize, fcFileWriteTime]
- Priority = tpNormal
- SubDirs = False
- OnChange = FileMonitorChange
- OnStart = FileMonitorStart
- OnStop = FileMonitorStop
- Left = 32
- Top = 56
- end
- end
-