BBjFileChooser::setSelectedFile

Description

In BBj 7.00 and higher, use this method to set a single file as the currently selected file in the BBjFileChooser.

Syntax

Return Value

Method

void

setSelectedFile(string filename)

Parameters

Variable

Description

filename

The absolute name of the selected file.

Return Value

None.

BUI logoRemarks

The BUI client-side fileopen file chooser ignores this setting.

See Interacting with client files in BUI and DWC for a detailed discussion of the BUI and DWC client-side file choosers.

Example

See Also

BBjAPI

BBjSysGui

BBjWindow

BBjFileChooser

BBjFileChooser::getSelectedFile

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