[Overview][Types][Classes][Procedures and functions][Index] |
Specifies which files will be shown
Source position: filectrl.pp line 75
public property TCustomFileListBox.Mask : string |
This property should be filled with a list of masks separated by semi-colons. For example: "*.pdf;*.svg" will show all files with the extensions pdf and svg. The default value for this property is "*" which for this control will be consider the generic mask meaning any file. Do not use the Windows specific mask "*.*" to attempt to show all files, which is the behavior from Delphi. In the LCL version of the control this will require the file name to have a point.
Allowed wildcarss are "*" which means zero or more characters and "?" which means exactly 1 character of any kind. Other characters represent themselves with one important detail: The file matching algorithm is case insensitive. So if you set "*.PDF" in the mask, then "PostScript.pdf" will also be shown, even in Linux in a case-sensitive file system.
This property has exactly the same rules and behavior as TFilterComboBox.Mask.
|
lazarus-ccr.sourceforge.net |