Show: Delphi C++
Display Preferences

Vcl.FileCtrl.TFileListBox.Mask

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Mask: string read FMask write SetMask stored IsMaskStored;

C++

__property System::UnicodeString Mask = {read=FMask, write=SetMask, stored=IsMaskStored};

Properties

Type Visibility Source Unit Parent
property published
Vcl.FileCtrl.pas
Vcl.FileCtrl.hpp
Vcl.FileCtrl TFileListBox

Description

Limits which files are displayed in the file list box.

Set Mask to a regular expression to limit the list box to files that match the mask. The value of the mask is a file name that may include wildcards. The asterisk (*) is a wildcard which matches any number of arbitrary characters. The question mark (?) is a wildcard which matches a single arbitrary character. The file mask *.* displays all files, which is the default value.

To specify multiple file masks, separate the file mask specifications with semicolons. For example, *.DLL;*.EXE.

If the form includes a TFilterComboBox object, set the FileList property of the filter combo box to have the Mask property updated automatically when the Mask property of the filter combo box changes.

See Also

Code Examples


Personal tools
In Other Languages
Previous Versions
Assistance