I'm trying to add a filter event to my own form:
Dim oFilters As SAPbouiCOM.EventFilters
Dim oFilter As SAPbouiCOM.EventFilter
oFilters = New EventFilters
oFilter=oFilters.Add(et_ITEM_PRESSED)
oFilter.Addex("MyForm")
SBO_Application.SetFilter(oFilters)
When I do the last instruccion, it gives me an exception "General Failure".
If I use the method oFilter.Add(200000010)(so i change de uid of my form), it doesn't gives me any exception, but i want to refer to my forms with strings, not with numbers.
Can anyone help me? Thanks!