Sign in Join
FPDoc Onlineexperiment

TOpenPictureDialog.GetFilterExt function

Member of TOpenPictureDialogpublicIn unit ExtDlgs

GetFilterExt - returns the extension for filtering filenames.

Declaration

pascal
function GetFilterExt: string

Function result

File extension found in the method, or an empty string when no extension is available.

Description

GetFilterExt is a String function used to get the file extension for the value in the Filter property. GetFilterExt parses the value in Filter, and ignores the all files mask ( '*.*') in favor of actual file extensions included in the property.

The return value contains the file extension found in the Filter property. If no file extension is found in Filter, the value in DefaultExt is used as the return value.

GetFilterEx is used by the Lazarus IDE in the implementation of property editors for TGraphic and TImageList.

See also

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