JVCL Help:TJvSearchParams.FileMasks

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Contains file masks used to limit the search results.


Pascal

 propertyFileMasks: TStrings;


Description

Set each item in FileMasks to a regular expression to limit the search results to files and directories that match at least one of the masks in FileMasks. The value of a mask is a filename which can contain wildcard characters (* and ?). The asterisk (*) is a wildcard which matches any number of arbitrary characters. The question mark (?) is a wildcard which matches a single arbitrary character.
Use FileMasks to add, insert, delete and move file masks. Use properties and methods for string lists to manipulate the items in the list.
stFileMask must be included in SearchTypes, otherwise the name of a file or directory will not be matched with the masks in FileMasks to determine if a file or directory is valid. If stFileMask is included in SearchTypes but FileMasks contains no masks, then all files and directories are valid for this match.
Include stFileMaskCaseSensitive in SearchTypes to compare the name of a file or directory case-sensitive with the masks in FileMasks.


See Also

TJvSearchParams.FileMask, TJvSearchParams.FileMaskSeperator, TJvSearchParams.SearchTypes


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page