BBjFileChooser::setFileSelectionMode
Description
In BBj 7.00 and higher, use this method to set whether the BBjFileChooser allows selecting files only, files and directories, or directories only.
Syntax
| 
                                                         Return Value  | 
                                                    
                                                         Method  | 
                                                
| 
                                                         void  | 
                                                    
                                                         setFileSelectionMode(int mode)  | 
                                                
Parameters
| 
                                                         Variable  | 
                                                    
                                                         Description  | 
                                                
| 
                                                         mode  | 
                                                    
                                                         One of BBjFileChooser::FILES_ONLY, FILES_AND_DIRECTORIES or DIRECTORIES_ONLY.  | 
                                                
Return Value
None.
Remarks
This method is not useful when using the $0008$ flag to show a directory chooser.
                                            The BUI client-side file chooser ignores this setting; it's not possible to select directories with the BUI client-side file chooser.
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::getFileSelectionMode
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.