BBjFileOpen::path

Description

In BBj 25.03 and higher, this method sets the default directory for this BBjFileOpen dialog.

Syntax

Return Value Method
BBjFileOpen path(String path)

Parameters

Variable Description
path Default directory.

Return Value

Returns this BBjFileOpen object, enabling methods to be chained.

Example

fileopen! = bbjapi().fileopen()
home! = System.getProperty("user.home")
if home!<>null() then
   path$ = str(home!) + "/Desktop/"
   fileopen!.path(path$)
endif
print fileopen!
print fileopen!.show()

See Also

BBjAPI

FILEOPEN() Function - Create File Open Dialog

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