BBjFileChooser::setSelectedFiles
Description
In BBj 7.00 and higher, this method selects a list of files in the BBjFileChooser.
Syntax
Return Value |
Method |
void |
setSelectedFiles(BBjVector filenames!) |
Parameters
Variable |
Description |
filenames! |
A vector containing strings with the absolute names of files to select. |
Return Value
None.
Remarks
Attempting to set a list of selected files when isMultiSelectionEnabled() is false will result in an !ERROR=17.
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
BBjFileChooser
BBjFileChooser::getSelectedFile
BBjFileChooser::getSelectedFiles
BBjFileChooser::setSelectedFile
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.