AfterRenameFile Event
Signals the completion of a file renaming operation.
Syntax
type TAfterRenameFileEvent = procedure ( Sender: TObject; ConnectionID: Int64; const OldPath: String; const NewPath: String; var OperationStatus: Integer ) of Object;
property OnAfterRenameFile: TAfterRenameFileEvent read FOnAfterRenameFile write FOnAfterRenameFile;
Remarks
The component fires this event upon completion of a file renaming operation. Check the operation status, and alter it, if needed, through the OperationStatus parameter:
ostOk | 1 | |
ostNoSuchFile | 2 | |
ostAccessDenied | 3 | |
ostWriteProtect | 4 | |
ostUnsupported | 5 | |
ostInvalidParameter | 6 | |
ostEOF | 7 |