Skip to content

Latest commit

 

History

History
21 lines (12 loc) · 955 Bytes

File metadata and controls

21 lines (12 loc) · 955 Bytes

OnFileFilter event

Project: Drop Files Components.

Unit: PJDropFiles.

Class: TPJCtrlDropFiles

Applies to: ~>5.0

property OnFileFilter: TPJDroppedFileFilter;

Description

This event is triggered for each dropped file and folder handled on behalf of the managed control and has type TPJDroppedFileFilter. The file or folder can be omitted from the list of dropped files by altering the Accept parameter of the event handler from True to False.

Folders that are filtered out by this event are not added to the Files property but are still scanned when the dfoRecurseFolders is included in Options.

Note that the Filter property takes precedence and files filtered out by the associated filter component are not processed by this event.