FileDialog Methods
Cancel
Cancels the file dialog.
Syntax:
Open
Opens the selected file or the file from the input path. Returns true if successful, false if a warning is shown. Warning will be confirmed, fileDialog will stay open.
Syntax:
Return Value:
True if the open was successful, false if a warning was shown.
Save
Saves to the selected file or the file from the input path. Returns true if successful, false if a warning is shown. Warning will be confirmed, fileDialog will stay open.
Syntax:
Return Value:
True if the save was successful, false if a warning was shown.
SetFileName
Sets the file name and/or path to the parameter fileNameWithPath.
Syntax:
Parameters:
Parameter
Description
fileNameWithPath
Return Value:
Returns the same instance of the FileDialog on which the method is called, so that you can do FileDialog.SetFileName(fileName).Save();
.
Last updated