links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
Last updated at 6:24 am UTC on 29 October 2017
Class comment:

A FileSaverDialog is a modal dialog for choosing a file name to use for saving a file.
Users can enter a filename in the text input view that will
a) if it exists in the current directry listing, be selected
b) over ride any filenames in the current directry, providing a way to specify a completely new file.
This will not affect the selected directory path.

Normal usage would be
	myFilename := FileSaverDialog openOn: myApplicationDefaultDirectory initialFilename: 'foo.myapp'
to find a file with a name matching foo.myapp and with the directory initial choice set to myApplicationDefaultDirectory. It would be quite possible to choose a file from any other directory and with any other name if the user wishes, so the file name must be carefully checked.

Simpler usage might be
	myFilename := FileSaverDialog open
	myFilename := FileSaverDialog openOn: FileDirectory default