Developer Resources

OpenFileDialog

Overview

Class that represents a file open dialog.

Base Class

FileDialog

Constructor

OpenFileDialog()

Methods

OpenFileDialog.setMultiselect
Sets whether or not multiple selections are allowed.

Inherited Methods

FileDialog.getCaption
Gets the caption that is displayed in the file dialog.
FileDialog.getDefaultFilter
Gets the default filter index for the file dialog.
FileDialog.getDirectory
Gets the default directory of the file dialog.
FileDialog.getFilename
Gets the file name from the file dialog.
FileDialog.getFilenames
Returns an array of file names from the file dialog.
FileDialog.getFilter
Gets the filter string for the file dialog.
FileDialog.getPath
Gets the file name of the selected file, including the full directory path.
FileDialog.getPaths
Returns an array of the file names of the selected files that includes the full directory path.
FileDialog.setCaption
Sets the caption to display in the file dialog.
FileDialog.setDefaultFilter
Sets the default filter index for the file dialog.
FileDialog.setDirectory
Sets the default directory of the file dialog.
FileDialog.setFilter
Sets the filter string for the file dialog.
FileDialog.showDialog
Shows the file dialog.

OpenFileDialog.setMultiselect

OpenFileDialog.setMultiselect()
OpenFileDialog.setMultiselect(flag : Boolean)

Arguments

flag
A flag that indicates whether or not multiple selections are allowed.

Description

Sets whether or not multiple selections are allowed. If flag is true, multiple selections are allowed. If flag is false, multiple selections are not allowed. If flag is not specified, then multiple selections are allowed.