BBjFileSave::path

Description

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

Return Value Method

BBjFileSave

path(String path)

Parameters

Variable Description

path

Default directory.

Return Value

Returns this BBjFileSave object, enabling methods to be chained.

Example

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

See Also

BBjAPI

FILESAVE() Function - Create File Save Dialog

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