Sign in Join
FPDoc Onlineexperiment

TFilterComboBox.Filter property

Member of TFilterComboBoxpublishedIn unit FileCtrl

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

Declaration

pascal
property Filter: string read FFilter write SetFilter;

Description

Filter is a String property which is published in TFilterComboBox. Filter contains the file filter(s) which are used in the Items property. Each filter value in the string contains a textual description and mask. For example:

'Text files (*.txt *.pas)|*.txt;*.pas|Binaries (*.exe)|*.exe'.

Setting a new value for the property causes ConvertFilterToStrings to be called to parse and store the filter descriptions in the Items property. Existing values in Items are cleared before storing the new filter values. The value in ItemIndex is set to 0 to select the initial filter in Items.

See also

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