SaveFileDialog returns the string of the path the user has selected using the save file dialog.

 

The filter extensions are a paired string separated by a |.

 

So "Text Files|*.txt" would display Text Files and show only files ending with .txt.

 

For multiple extensions for the same display name use a semi colon as in the example below.

"Text Files|*.txt;*.csv"

 

You can set multiple filters such as:

"Text Files|*.txt|CSV Files|*.csv"

 

Syntax:

completeFilePath = SaveFileDialog( , , )

 

Parameter:

Description:

[filterExtension]

Optional: This is for filter extensions, like .exe, .txt or .csv

[fileName]

Optional: Use this field for the file name to find.

[startPath]

Optional: Use the path field to specify where the dialog will open a disk location.

 

Example:

 

Returns:

 

 

Links:

 

See Also:

 

 


Edit Time: 9/25/2017 09:09:58 AM


Topic ID#: 514

 

Parameter:

Description:

filterExtension


fileName

 

startPath


 

Example:

PRINT OpenFileDialog( "Text Files|*.txt;*.csv", _

     "orders.txt", fileManager.DefaultFolder )

 
PRINT SaveFileDialog( "Text Files|*.txt;*.csv", _

     "orders.txt", fileManager.DefaultFolder )

 

Returns:

A string containing the complete path the user selected

 

Links:

 

See Also:

 

 


Edit Time: 9/25/2017 09:09:58 AM


Topic ID#: 514

Created with Help & Manual 7 and styled with Premium Pack Version 2.80 © by EC Software