Sign in Join
Wiki copytemporary

ATFileNotif: what changed

Revision 2 to 3. 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-
81# About
92
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.
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.
114
12-[![atfilenotif.png](/wiki-images/f/f0/atfilenotif.png)](</File:atfilenotif.png>)
5+![](/wiki-images/a/a6/Atfilenotif.png)
136
147# Example
158
16-Example of function which starts file watch:
17-```
9+Example of function which starts file watch:
10+
11+``` pascal
1812procedure TfmMain.NotifyFile;
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;
13+begin
14+ with ATFileNotif1 do
15+ begin
16+ Timer.Enabled:= False;
17+ Timer.Interval:= 1000;
18+ FileName:= edFileName.Text;
19+ Timer.Enabled:= True;
20+ end;
21+end;
2822```
2923
3024# Download
3125
3226Github: <https://github.com/Alexey-T/ATFileNotif-Lazarus>
3327
3428# License
3529
3630MPL 2.0 or LGPL.
3731
3832---
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).*
33+*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).*
34+Category: Components

Back to history