Save File Dialog - AddFilter Method

Add a file type filter

Member of Save File Dialog (PRIM_APPL.ICommonDialogFileSave)

Parameters

Name Type Data Type Description
Name *Input (Optional) String Descriptive name for the filter
Extention *Input (Optional) String Filter 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

LANSA Version 15, April 2020