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