BBjFileSave
Description
In BBj 25.03 and higher, the BBjFileSave object is equivalent to the FILESAVE() Function - Create File Save Dialog.
Creation
BBjAPI > BBjFileSave
The BBjFileSave object is created through the following BBjAPI method:
| Return Value | Method |
|---|---|
|
BBjFileSave |
filesave() |
Methods of BBjFileSave
| Return Value | Method |
|---|---|
|
BBjFileSave |
ext(String ext) |
|
BBjFileSave |
filters(String filters) |
|
BBjFileSave |
mode(int mode) |
|
BBjFileSave |
modes(String modes) |
|
BBjFileSave |
name(String name) |
|
BBjFileSave |
path(String path) |
|
String |
show() |
|
BBjFileSave |
title(String title) |
Constants
| Value | BBjFileSave Constant | Action |
|---|---|---|
|
|
FILESAVE_SELECT_FILE (default) |
Only files may be selected |
|
|
FILESAVE_SELECT_DIRECTORY |
Only directories may be selected |
|
|
FILESAVE_SELECT_FILE_OR_DIRECTORY |
Files or directories may be selected |
Example
|
See Also
FILESAVE() Function - Create File Save Dialog
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.