Formats property (LEADDlgFile Control)

C++ Builder example

Delphi 4.0 example

 

Builder Syntax

AnsiString Formats

Delphi Syntax

Formats: String

Overview

Refer to Using Imaging Common Dialogs.

Remarks

Gets or sets the string that specifies the filter(s) to be associated or de-associated and the filter pattern for the FilesAssociation dialog box. 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

See Also

Elements:

ShowFilesAssociationDlg method, SelectedExt property, ServerAppName property

Topics:

Imaging Common Dialogs: Properties, Methods, and Events