Filter property (LEADDlgFile Control)

C++ Builder example

Delphi 4.0 example

 

Builder Syntax

AnsiString Filter

Delphi Syntax

Filter: String

Overview

Refer to Using Imaging Common Dialogs.

Remarks

Gets or sets the filter for the Open or GetDirectory dialog boxes. This should be set in the following way:

DisplayString|filterAll Files|*.*

To use more than one filter:All Files|*.*|JPEG|*.jpg|Windows BMP|*.bmp|LEAD|*.cmp

If the user passes ‘’ to the Filter property, the file type combo box will disappear in the GetDirectory dialog box.

See Also

Elements:

ShowGetDirectoryDlg method, ShowOpenDlg method, FilterIndex property, FileName property, FileTitle property, DialogTitle property, DlgFileFlags property, InitialDir property, MaxFileSize property, MaxFileTitleSize property, PreviewEnabled property, OptionsFileType property, Bitmap property, Thumbnail property, PageNumber property, LoadPasses property, LoadCompressed property, LoadRotated property, ShowLoadOptions property, PCDResolution property, PDFXResolution property, PDFYResolution property, PDFDisplayDepth property, PDFTextAlpha property, PDFGraphicsAlpha property, RASTERMISCXResolution property, RASTERMISCYResolution property, METAFILEXResolution property, METAFILEYResolution property, VECTORMISCViewportWidth property, VECTORMISCViewportHeight property, VECTORMISCViewportMode property, VECTORMISCFont property, DXFViewportWidth property, DXFViewportHeight property, DXFViewportMode property, DXFFont property, DXFAutoCADColorScheme property, PLTViewportWidth property, PLTViewportHeight property, PLTViewportMode property, PLTPenWidth property, PLTPenColor property, Directory property, FilterIndex property, DialogTitle property

Topics:

Imaging Common Dialogs: Properties, Methods, and Events