Showing results for 
Search instead for 
Did you mean: 

Event filters on menus

Former Member
0 Kudos

How can i set filters on menu items?I am trying to set a filter on a menu item using the code below, but it is not working

Dim oFilters As SAPbouiCOM.EventFilters

Dim oFilter As SAPbouiCOM.EventFilter

Set oFilters = New SAPbouiCOM.EventFilters

Set oFilter = oFilters.Add(et_MENU_CLICK)

oFilter.Add 3329 (Menu item for "Choose Company" under "Administration")


Accepted Solutions (1)

Accepted Solutions (1)

Active Contributor
0 Kudos


EventFilters are for ItemEvents only (except that you have to add the et_MENU_CLICK when you still want to receive MenuEvents after starting to filter ItemEvents (sorry for this implicit requirement).

You cannot use filters for menus.


Answers (0)