I have a problem with sbo ui, the menu event is not firing when I use eventfilters.
I've tried to use
Set oFilter = oFilters.Add(et_ALL_EVENTS)
to give all the events for the application menu and it still dosn't work, now I stopped using the filters until I can find a solution for this.
If anyone has a work around for this pls tell me.
Private Sub SetApplication()
Dim oGui As SAPbouiCOM.SboGuiApi
Dim sConnStr As String
Set oGui = New SAPbouiCOM.SboGuiApi
sConnStr = Command
Set oApp = oGui.GetApplication()
Dim oFilters As SAPbouiCOM.EventFilters
Dim oFilter As SAPbouiCOM.EventFilter
Set oFilters = New SAPbouiCOM.EventFilters
Set oFilter = oFilters.Add(et_CLICK)
Set oFilter = oFilters.Add(et_LOST_FOCUS)