BBjFileChooser::getFileSelectionMode

Description

In BBj 7.0 and higher, this BBjFileChooser method returns whether the user may select files only, files and directories, or directories only.

Syntax

Return Value

Method

int

getFileSelectionMode()

Parameters

None.

Return Value

Returns one of BBjFileChooser::FILES_ONLY, BBjFileChooser::FILES_AND_DIRECTORIES, or BBjFileChooser::DIRECTORIES_ONLY.

Remarks

This is not a useful method when combined with the $0008$ flag.

BUI logo

The BUI client-side file chooser returns whatever value was set with BBjFileChooser::setFileSelectionMode , but this setting has no effect on the file chooser; it's not possible to select directories with the BUI client-side file chooser. See BUI: Interacting with client files for a detailed discussion of the BUI client-side file choosers.

Example

See Also

BBjAPI

BBjSysGui

BBjWindow

BBjFileChooser

BBjFileChooser::setFileSelectionMode

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.