BBjWindow::setEnterAsTab
Description
In BBj 11.00 and higher, this method sets whether the ENTER key navigates between controls like the TAB key.
Syntax
| 
                                                         Return Value  | 
                                                    
                                                         Method  | 
                                                
| 
                                                         void  | 
                                                    
                                                         setEnterAsTab(boolean enterAsTab)  | 
                                                
Parameters
| 
                                                         Variable  | 
                                                    
                                                         Description  | 
                                                |
| 
                                                         enterAsTab  | 
                                                    
                                                         Specifies whether the ENTER key navigates between controls:  | 
                                                |
| 
                                                         
  | 
                                                    
                                                         0=  | 
                                                    
                                                         Only the TAB key navigates between controls. This is the default.  | 
                                                
| 
                                                         
  | 
                                                    
                                                         1=  | 
                                                    
                                                         Either the TAB key or the ENTER key may be used to navigate between controls. When this mode is set, the ENTER key no longer activates the button with ID=1.  | 
                                                
Return Value
None.
Remarks
By default, only the TAB key navigates between controls.
This is BBjWindow method; do not confuse it with BBjGrid::setEnterAsTab.
Example
                                                     | 
                                                
See Also
Window Navigation - SENDMSG() Function 1
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.