Moo_DialogFile  -  Show a file chooser dialog.

Moo_DialogFile ( bOpen; sTitle; sDefault );

This functions shows a standard file picker dialog and returns the chosen file.

Parameters

NameTypeRequiredDefaultDescription
bOpenBooleanNoFalseShow the open file dialog instead of save file.
sTitleStringNo The title of the dialog.
SDefaultStringNo The default filename.

Return Value

Returns either the path to the chosen file, or an error code.

Notes

Had parameters added in MooPlug Version 0.4.4.

Errors

Error CodeDescription
Moo_DialogFile|Err_1Invalid number of arguments.
Moo_DialogFile|Err_2Dialog cancelled by user.

Related Functions