[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'fpg_dialogs' (#fpgui)

TfpgFileDialog.Filter

File mask filters available in the dialog.

Declaration

Source position: fpg_dialogs.pas line 193

public property TfpgFileDialog.Filter: String
  read FFilter
  write SetFilter;

Description

The filter consists out of two parts separated by a | sign. If more than one filter needs to be specified each filter is also separated by a | sign. The format for a single filter is: <description>|<filemask> The format for multiple filters are: <description>|<filemask>|<description>|<filemask>|<description>|<filemask>

Example:

'All Files (*)|*'
'All Files (*)|*|Object Pascal (*.pas)|*.pas'

A filemask can also contain more than one mask separated by a ; sign.
eg: 'Object Pascal|*.pas;*.lpi;*.pp'


Documentation generated on: 2010-08-30