Description
Occurs when a UI event (click) takes place on menu item in the SAP Business One application.
Syntax
Parameters
Example
| Catching menu events (Visual Basic) | Copy Code |
|---|
Private Sub SBO_Application_MenuEvent(pVal As SAPbouiCOM.IMenuEvent, BubbleEvent As Boolean)
If pVal.BeforeAction = True Then
SBO_Application.SetStatusBarMessage _
"Menu itme: " + pVal.MenuUID + " sent an event BEFORE SAP Business One processes it.", bmt_Long, True
Else
SBO_Application.SetStatusBarMessage _
"Menu itme: " & pVal.MenuUID & " sent an event AFTER SAP Business One processes it.", bmt_Long, True
End If
End Sub |
|
See Also