BBjTopLevelWindow::getWindowMode
Description
In BBj 21.0 and higher, this method returns the runtime mode of a BBjTopLevelWindow. The available modes (MDI, SDI, DETACHED) are defined in BBjMDI::getDefaultMDIMode.
Syntax
| Return Value | Method | 
|---|---|
| String | getWindowMode() | 
Parameters
None.
Return Value
The return value is one of the following strings:
| String | Description | 
|---|---|
| MDI | The BBjTopLevelWindow is an MDI child window confined to the user area of an MDI master. The child will be terminated when the MDI master is closed. | 
| SDI | The BBjTopLevelWindow is attached to an MDI master, but it's not confined to the MDI master's user area. The window will be terminated when its MDI master is closed. | 
| DETACHED | This BBjTopLevelWindow is not attached to an MDI window. | 
Example
                                                     | 
                                                
Version History
                                            
                                            
                                            See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.