OnFileChanged event
|
dcFileTail component.
|
type
|
TdcFileTailFileChangedEvent = procedure(Sender: TObject; OldFileSize, NewFileSize: Int64) of object;
|
|
property OnFileChanged: TdcFileTailFileChangedEvent;
|
The OnFileChanged event occurs when the file size is changed.
|
|
Write the OnFileChanged event handler to be informed when file updated and receive previous and new files size from OldFileSize and NewFileSize parameters.
|
Because the Delphi 3 and C++ Builder 3 does not supports the Int64 type, the OldFileSize and NewFileSize parameters uses the "Extended" (float) type. Int64 are used in the Delphi4 and higher.
|
OnFileAppended event.
|