on 07-05-2006 10:34 AM
hi,
is it possible to set the event filter only for my addon and not for standard function or other addons ?
in my addon i'm usin a crystal report viewer. So i catch the Menu_CLICK-event 519 (preview) and 520 (print)
But when i use the event filter on a special form, the event Filter is set for the whole Business One.
For example, i set my filter on form 139. But if the user print on other forms (140, 133,...) the standard PLD should work !
What is going wrong?
oFilters = New SAPbouiCOM.EventFilters()
oFilter = oFilters.Add SAPbouiCOM.BoEventTypes.et_MENU_CLICK)
oFilter.AddEx("139") 'Formular
moSBOApplication.SetFilter(oFilters)
regards
Markus
just leave out the oFilter.AddEx("139") 'Formular
then it shoud work... The Menu_click event is somewhat different, so what we do normally is just to catch menu_clicks but not on which forms (= all forms)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.