This is a new site that's currently running on alpha code. There are going to be bugs. If you discover any, please report them on the site's issues page (GitHub account required). Thanks.
Warning: Many URLs are going to change. Refer to the README file to discover which library project's documentation has been completed.
Project: Drop Files Components.
Unit: PJDropFiles.
Class: TPJCtrlDropFiles
Applies to: ~>5.0
property OnFileFilter: TPJDroppedFileFilter;
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.