BBjGrid::setEnterAsTab
Description
In BBj 11.00 and higher, this method sets whether an ENTER key that is pressed while focus is on the grid will be interpreted as though a TAB key had been pressed.
Syntax
Return Value |
Method |
---|---|
void |
setEnterAsTab(boolean enterAsTab) |
Parameters
Variable |
Description |
||||
---|---|---|---|---|---|
Variable |
Description |
||||
enterAsTab |
Specifies whether the ENTER key should be interpreted as a TAB key:
|
Return Value
None.
Remarks
By default, pressing ENTER when the selected cell is an editable cell will toggle editing on that cell. When enterAsTab is TRUE the user can no longer start editing by pressing ENTER.
This is BBjGrid method; do not confuse it withBBjWindow::setEnterAsTab.
Example
|
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.