Procedural event handler for OnCustomFileName event.
Unit
Syntax
ParametersACustom [in, optional] Custom user data parameter. It's the same pointer as it was passed to RegisterEvent-function.
AExceptionInfo [in] Information about exception.
AFileType [in] Kind of file name to modify.
AFileName [in, out] Actual file name that may be changed. Use full absolute file path.
ACallNextHandler [out] True (default) - call next registered event handler, False - do not call next event handler.
RemarksUse this event to assign/modify file names.
Even though you can relocate file in arbitrary folder - it's highly recommended to keep original folder and extension.
See also
|