BBjFileChooser::setActiveFileFilter

Description

In BBj 7.00 and higher, use this BBjFileChooser method to change the active file filter for the file chooser control.

Syntax

Return Value

Method

void

setActiveFileFilter(string name)

Parameters

Variable

Description

name

The name of the filter passed to the addFileFilter name, or the empty string "".

Return Value

None.

Remarks

If passing the empty string, the "All Files" filter will be displayed to the user, subject to the return value of isAcceptAllFileFilterUsed().

Example

See Also

BBjAPI

BBjSysGui

BBjWindow

BBjFileChooser

   BBjFileChooser::getActiveFileFilter

   BBjFileChooser::isAcceptAllFileFilterUsed

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