Project: Drop Files Components.
Unit: PJDropFiles.
Applies to: ~>5.0
TPJDroppedFileFilter = procedure(
Sender: TObject; const FileName: string; const IsFolder: Boolean;
var Accept: Boolean
) of object;
Event handler type for OnFileFilter events, triggered for each file and folder dropped after processing by any filter component. This event can be handled to apply custom filtering to each file and folder.
FileName is the name of the file or folder being filtered. IsFolder is true if FileName denotes a folder. The state of the Accept flag determines if FileName is to be added to the list of dropped files / folders. Accept is true by default - set it to false to omit the file from the list of dropped files and folders.