ShellBrowser Delphi Components Documentation
ContentsIndexHome
PreviousUpNext
ShellBrowser.TShellBrowser.Filter

Allows you to filter objects by filename when enumerating them using the Next function.

Syntax
Pascal
property Filter: string;

You can use a single pattern, e.g. '*.doc' or concatenate several patterns using semicolons to separate them, e.g. '*.exe;*.com'.

Using the following filter, only GIF and JPEG images will appear when enumerating files.

ShellBrowser.Filter := '*.jpg;*.gif';