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

TFileDialog.Filter

A string which contains possible filename filters (eg .doc, .xmp, .pas etc).

Declaration

Source position: dialogs.pp line 151

published property TFileDialog.Filter : string
  read FFilter
  write SetFilter;

Description

This is a string which contains the filters a user can choose from.
The available filters and their description are separated by pipe symbols.
To set this property during runtime assign a value like: "All files|*.*|Lazarus Project files|*.lpr"
An entry can contain multiple masks separated by semicolon, e.g. "Pascal units|*.pas;*.pp;*.p"

The latest version of this document can be found at lazarus-ccr.sourceforge.net.