Interface MultiSourceEvent::getMenuButton

 


Description

In BBj 7.0 and higher, this method calls SysGuiEvent::getControl() and casts the return value to a BBjMenuButton.

Syntax

Return Value

Method

BBjMenuButton

getMenuButton()

Parameters

None.

Return Value

Returns the BBjMenuButton that is the source of the event.

Remarks

If the source of the event is not a BBjMenuButton, then this method will throw an !ERROR=26.

Example

 

See Also

BBjAPI

BBjSysGui

BBjSysGuiEvent::getControl

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