BBjFileSave::name

Description

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

Syntax

Return Value Method
BBjFileSave name(String name)

Parameters

Variable Description
name Default filename.

Return Value

Returns this BBjFileSave object, enabling methods to be chained.

Remarks

None.

Example

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

BBjAPI

FILESAVE() Function - Create File Save Dialog

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