Sign in Join
FPDoc Onlineexperiment

TCustomFilterComboBox.Mask property

Member of TCustomFilterComboBoxpublicIn unit FileCtrl

File mask for the selected filter in the control.

Declaration

pascal
property Mask: string read GetMask;

Description

Mask is a read-only String property with the file mask for the selected Filter in the control.

When reading the value for Mask, a temporary TStringList instance is used to convert the values in Filter into individual file masks by calling the ConvertFilterToStrings method. The value in ItemIndex determines the value returned for the property.

The property value is an empty string ('') if Filter is unassigned, or ItemIndex contains -1.

Mask can be used to provide the file mask for the selected filter to related controls.

See also

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.