Set a pattern to filter the files in the requester
Source position: MUIClass.Dialog.pas line 37
public property TFileDialog.Pattern : string |
If the pattern is set, the input gadget for it will be shown as well. Default is, no Pattern and therefore the Pattern Gadget is hidden. To show the Pattern settings but not filter anything set the Pattern to '#?'
Some Pattern examples:
FileDialog.Pattern := '#?.iff'; // only show IFF FileDialog.Pattern := '~(#?.info)'; // do not show info files FileDialog.Pattern := '(#?.bmp|#?.gif|#?.iff|#?.jpg)'; // show only some usual image formats