hello,
I'm using the B1 2005A SP01 PL:11. I found that there have a evet filter et_ALL_EVENT.
When i tried the folloing code, the message box does not shown. Is it caused by the filter??
' After User Action
If pVal.FormType = "139" And _
pVal.EventType <> SAPbouiCOM.BoEventTypes.et_FORM_UNLOAD _
And Not pVal.BeforeAction Then
'// get the event sending form
oOrderForm = SBO_Application.Forms.GetFormByTypeAndCount(pVal.FormType, pVal.FormTypeCount)
If pVal.EventType = SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED _
And pVal.ItemUID = "add" Then
SBO_Application.MessageBox("Hello")
End If
End If
Regards,
Kit