Project: Drop Files Components.
Unit: PJDropFiles.
Class: TPJDropFiles
Applies to: ~>5.0
property Filter: TPJFileFilter;
References a file filter component that is used to filter the names of dropped files.
The referenced component filters the dropped files and stores only those files that pass through the filter. The filter component must descend from the TPJFileFilter abstract base class. Various TPJFileFilter descendants perform different kinds of filtering. Those supported in this release are:
- TPJExtFileFilter - filters out all files that do not have one of more specified extensions.
- TPJWildCardFileFilter - filters out file names that do not match a given wildcard.
Any files that pass the filter are then passed to the OnFileFilter event, if handled.