BBjNativeJavaScriptEvent


Description

In BBj 17.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_NATIVE_JAVASCRIPT event.

Remarks

This event is triggered by passing a JavaScript DOM Event object to the basisDispatchNativeEvent(event) method, or a DOM Element and arbitrary JavaScript object to the basisDispatchCustomEvent(element,object) from JavaScript code running in a BBjHtmlView. Any specified DOM Event must have originated from a DOM Element contained within the BBjHtmlView, or any specified DOM Element must be contained within the BBjHtmlView. This detail is critical; it enables the client session to associate an arbitrary JavaScript event with the corresponding BBj session.

Methods of BBjNativeJavaScriptEvent

Return Value

Method

HashMap<String,String>

getEventMap()

Methods of BBjNativeJavaScriptEvent inherited from BBjSysGuiEvent

Return Value

Method

BBjControl

getControl()

See Also

CALLBACK Verb - Register BBj Subroutine

BBjControl::setCallback

Native JavaScript Event



______________________________________________________________________________________

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