FileDialog.Mode

Values

ValueMeaning
modeOpenFile0

The dialog allows selecting one, and only one file.

modeOpenFiles1

The dialog allows selecting multiple files.

modeOpenDir2

The dialog only allows selecting a directory, disallowing the selection of any file.

modeOpenAny3

The dialog allows selecting one file or directory.

modeSaveFile4

The dialog will warn when a file exists.

Meta