Sign in Join
Wiki copytemporary

ATFileNotif: what changed

Revision 1 to 2. Removed lines have a minus sign; added lines have a plus sign.

OldNewLine
1+## Contents
2+
3+ * 1 About
4+ * 2 Example
5+ * 3 Download
6+ * 4 License
7+
18# About
29
3-ATFileNotif is simple component which detects file change. It uses timer, timer checks are file props (file exists; file size; file age) changed or not. It calls OnChanged.
10+ATFileNotif is simple component which detects file change. It uses timer, timer checks are file props (file exists; file size; file age) changed or not. It calls OnChanged.
411
5-<figure>
6-<img src="atfilenotif.png" title="atfilenotif.png" />
7-<figcaption>atfilenotif.png</figcaption>
8-</figure>
12+[![atfilenotif.png](/wiki-images/f/f0/atfilenotif.png)](</File:atfilenotif.png>)
913
1014# Example
1115
12-Example of function which starts file watch:
13-
14-``` pascal
16+Example of function which starts file watch:
17+```
1518procedure TfmMain.NotifyFile;
16-begin
17- with ATFileNotif1 do
18- begin
19- Timer.Enabled:= False;
20- Timer.Interval:= 1000;
21- FileName:= edFileName.Text;
22- Timer.Enabled:= True;
23- end;
24-end;
19+ begin
20+ with ATFileNotif1 do
21+ begin
22+ Timer.Enabled:= False;
23+ Timer.Interval:= 1000;
24+ FileName:= edFileName.Text;
25+ Timer.Enabled:= True;
26+ end;
27+ end;
2528```
2629
2730# Download
2831
2932Github: <https://github.com/Alexey-T/ATFileNotif-Lazarus>
3033
3134# License
3235
3336MPL 2.0 or LGPL.
3437
3538---
36-*From the Free Pascal wiki, page "ATFileNotif", as it stood on 2020-02-09 after a change by Trev, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).*
37-Category: Components
39+*From the Free Pascal wiki, page "ATFileNotif", as the Internet Archive kept it on 2024-03-08. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).*

Back to history