BBjAPI::setCustomEventCallback
Description
In BBj 6.00 and higher, this method sets a callback that is to be called when the specified BBjCustomEvent appears on the BBj event queue.
Syntax
Return Value |
Method |
---|---|
void |
setCustomEventCallback(string eventName, string subRoutineName) |
void |
setCustomEventCallback(string eventName, CustomObject customObj, string methodName) |
Parameters
Variable |
Description |
---|---|
eventName |
This name identifies the event for which a callback is being set. |
methodName |
The name of the method that is to be called when the BBjCustomEvent is processed by PROCESS_EVENTS. |
subRoutineName |
Subroutine name to be executed in PROCESS_EVENTS. |
CustomObj |
A CustomObject containing the method to be called when the BBjCustomEvent is processed by PROCESS_EVENTS. |
Return Value
None.
Example
|
See Also
BBjAPI::clearCustomEventCallback
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.