BBjInputT::getPassTab

Description

In BBj 24.00 and higher, this method returns whether the BBjInputT control passes the TAB key notification to the top-level window.

Syntax

Return Value Method
boolean getPassTab()

Parameters

None.

Return Value

Returns whether the TAB key notification is passed to the top-level window.

Remarks

By default, the TAB key is also reported as an BBjInputKeypressEvent event on the BBjInputT.

Example

sysgui = unt
open (sysgui)"X0"
sysgui! = bbjapi().getSysGui()
window! = sysgui!.addWindow(50,50,200,150,"BBjInputT",$00090083$)
window!.setCallback(window!.ON_CLOSE,"eoj")
window!.setCallback(window!.ON_KEYPRESS,"keypress")
inputt! = window!.addInputT(101,25,25,150,25,$0008$)
inputt!.setCallback(inputt!.ON_INPUT_KEYPRESS,"keypress")
inputt!.focus()
print "getPassTab: ",inputt!.getPassTab()
inputt! = window!.addInputT(102,25,85,150,25,$0008$)
inputt!.setCallback(inputt!.ON_INPUT_KEYPRESS,"keypress")
inputt!.setPassTab(1)
print "getPassTab: ",inputt!.getPassTab()
process_events

eoj:
release

keypress:
    event! = sysgui!.getLastEvent()
    print event!.getEventName(),event!.getKeyCode()
return

ClosedVersion History

  • BBj 24.00: BBjInputT::getPassTab added.

See Also

BBjAPI

BBjSysGui

BBjControl

BBjWindow

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