Skip to Content
0
Former Member
Jul 10, 2007 at 02:51 PM

Problem with EventFilter

32 Views

Hi all,

I don't really understand how work EventFilter. My source look like that:

Private Sub SetFilters()

Dim obj_Filters As New SAPbouiCOM.EventFilters

Dim obj_Filter As SAPbouiCOM.EventFilter

obj_Filter = obj_Filters.Add(SAPbouiCOM.BoEventTypes.et_MENU_CLICK)

obj_Filter.AddEx("EPG_Mnu_Translation")

obj_Filter = obj_Filters.Add(SAPbouiCOM.BoEventTypes.et_FORM_LOAD)

obj_Filter.AddEx("EPG_Translation")

SBO_Application.SetFilter(obj_Filters)

end sub

In that case, the menu click work but not the form load. I have tried several possibility but I don't arrive to work with menu and form.

Is someone have a explanation?