BBjFileOpen::mode
Description
In BBj 25.03 and higher, this method sets the selection mode (files, directories, or both) for this BBjFileOpen dialog.
Syntax
| Return Value | Method | 
|---|---|
| BBjFileOpen | mode(int mode) | 
Parameters
| Variable | Description | 
|---|---|
| mode | This parameter specifies whether the file dialog allows the selection of files, directories, or both. The available options for mode are: FILEOPEN_SELECT_FILE (0): only files may be selected (default). FILEOPEN_SELECT_DIRECTORY (1) only directories may be selected. When setting the mode to 1 or 2, the filters option is ignored. | 
Return Value
Returns this BBjFileOpen object, enabling methods to be chained.
Example
|  | 
See Also
FILEOPEN() Function - Create File Open Dialog
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.