BBjFileOpen
Description
In BBj 25.03 and higher, the BBjFileOpen object is equivalent to the FILEOPEN() Function - Create File Open Dialog.
Creation
BBjAPI > BBjFileOpen
The BBjFileOpen object is created through the following BBjAPI method:
| Return Value | Method |
|---|---|
| BBjFileOpen | fileopen() |
Methods of BBjFileOpen
| Return Value | Method |
|---|---|
| BBjFileOpen | ext(String ext) |
| BBjFileOpen | filters(String filters) |
| BBjFileOpen | mode(int mode) |
| BBjFileOpen | modes(String modes) |
| BBjFileOpen | name(String name) |
| BBjFileOpen | path(String path) |
String
|
show() |
| BBjFileOpen | title(String title) |
Constants
| Value | BBjFileOpen Constant | Icon |
|---|---|---|
|
0 |
FILEOPEN_SELECT_FILE |
Only files may be selected (default) |
|
1 |
FILEOPEN_SELECT_DIRECTORY |
Only directories may be selected |
|
2 |
FILEOPEN_SELECT_FILE_OR_DIRECTORY |
Files or directories may be selected |
Example
|
See Also
FILEOPEN() Function - Create File Open Dialog
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.