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

TOpenPictureDialog.GetFilterExt

GetFilterExt - returns the extension for filtering filenames.

Declaration

Source position: extdlgs.pas line 88

public function TOpenPictureDialog.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

TOpenPictureDialog.Filter

  

Contains a delimited list of descriptions and extensions for file available in the dialog.

TFileDialog.DefaultExt

  

Contains the default extension for file names in the dialog.

TGraphic

  

Abstract base class used for images in supported image formats.

TCustomImageList

  

The base class for TImageList.


Version 4.0 Generated 2025-05-03 Home