BBjGrid::isEnterAsTab

Description

In BBj 11.00 and higher, this method returns whether pressing Enter while focus is on the grid will be interpreted as though the user had pressed Tab.

Syntax

Return Value

Method

boolean

isEnterAsTab()

Parameters

None.

Return Value

Returns whether the ENTER key will be interpreted as TAB when focus is on the grid.

Remarks

This is BBjGrid method; do not confuse it with BBjWindow::isEnterAsTab.

Example

rem ' setCellListControl.txt

sysgui = unt
open (sysgui)"X0"
sysgui! = bbjapi().getSysGui()
window! = sysgui!.addWindow(50,50,450,620,"",$00090083$,$$)
grid! = window!.addGrid(1234,10,60,380,170,flags$,rows,cols)
print "isEnterAsTab: ", grid!.isEnterAsTab()
grid!.setEnterAsTab(1)
print "isEnterAsTab: ", grid!.isEnterAsTab()
process_events
process_events

eoj:
release

See Also

BBjAPI

BBjGrid

BBjWindow

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.