BBjGainedFocusEvent

 

Description

In BBj 6.0 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.0 and higher, this event returns a boolean value indicating whether a focus change is permanent or temporary.

In BBj 14.0 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 inherited from BBjSysGuiEvent

Return Value

Method

BBjControl

getControl()

Methods of BBjGainedFocusEvent implemented for MultiSourceEvent

See Also

CALLBACK Verb - Register BBj Subroutine

BBjControl::setCallback

Control Focus Gained/Lost Event



______________________________________________________________________________________

Copyright BASIS International Ltd. BBj®, Visual PRO/5®, PRO/5®, and BBx® are registered trademarks.