BBjFileOpen::name

Description

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

Syntax

Return Value Method
BBjFileOpen name(String name)

Parameters

Variable Description
name

Default filename.

Return Value

Returns this BBjFileOpen object, enabling methods to be chained.

Example

fileopen! = bbjapi().fileopen().name("default.txt")
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.