Save File Dialog - AddFilter Method

Add a file type filter

Member of Save File Dialog (PRIM_APPL.ICommonDialogFileSave)

Parameters

NameTypeData TypeDescription
Name*Input (Optional)StringDescriptive name for the filter
Extention*Input (Optional)StringFilter file extension e.g. .Txt

Details

Use the AddFilter method to add a file type filter to limit the files seen in the dialog.

Example

In this example, a Word document filter is added
#FileDialog.AddFilter( 'Word Files' '*.docx' )

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2