[Overview][Types][Classes][Procedures and functions][Index] Reference for unit 'FileCtrl' (#lcl)

TCustomFilterComboBox.Mask

File mask for the selected filter in the control.

Declaration

Source position: filectrl.pp line 166

public property TCustomFilterComboBox.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

TFilterComboBox.Filter

  

Contains one or more file filters used in the combo-box.

TFilterComboBox.ItemIndex

  

The index of the currently selected item, or -1 if no item is selected.

TCustomFilterComboBox.Select

  

Performs actions needed when the selected item (ItemIndex) has been changed.


Version 4.0 Generated 2025-05-03 Home