BBjGainedFocusEvent

Description

In BBj 6.00 and higher, this event is returned by BBjAPI().getLastEvent() when the program is executing callback code that the program has registered for the ON_GAINED_FOCUS event.

In BBj 12.00 and higher, this event returns a boolean value indicating whether a focus change is permanent or temporary.

In BBj 14.00 and higher, this event returns the text value of the control when it gained focus.

Remarks

None.

Methods of BBjGainedFocusEvent

Return Value Method
string getText()
boolean isTemporary()

Methods of BBjGainedFocusEvent implemented for MultiSourceEvent

Methods of BBjGainedFocusEvent inherited from BBjSysGuiEvent

Return Value Method
BBjControl getControl()

Methods of BBjGainedFocusEvent inherited from BBjEvent

Return Value Method
string getEventName()
string getEventString()

See Also

CALLBACK Verb - Register BBj Subroutine

BBjControl::setCallback

Control Focus Gained/Lost Event