Sign in Join
FPDoc Onlineexperiment

TCustomShellListView.Mask property

Member of TCustomShellListViewpublicIn unit ShellCtrls

File mask used to select items displayed in the shell control.

Declaration

pascal
property Mask: string read FMask write SetMask;

Description

Mask is a String property used to supply a mask which determines the file system objects displayed in the shell control. Mask can contain one or more mask values delimited by the Semicolon ( ';') character. For example:

*.exe; br*.com; c??.*

Changing the value in Mask causes the Clear method to be called for the shell control. In addition, the Items property calls its Clear method to remove entries stored in the property. The PopulateWithRoot method is called to re-populate the shell control using the new mask value.

The value in Mask is passed as an argument to the GetFilesInDirectory helper routine which gets the file system objects displayed in the List View control.

Use MaskCaseSensitivity to specify the case sensitivity option used when matching file masks in the shell control.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.