on 06-11-2018 10:22 AM
Dear experts,
I develope Addon using SAPBusinessOneSDK ("new" framework 9).
On menu event I need to call method on my active MyUDOform.
How to get reference to my MyUDOform?
When I get Application.SBO_Application.Forms.ActiveForm (SAPbouiCOM.Form) I can not cast it to MyUFOform (inherit from SAPbouiCOM.Framework.UDOFormBase).
if (pVal.BeforeAction == false && pVal.MenuUID == "1281")
....
MyUDOform mf;
mf = (MyUDOform)Application.SBO_Application.Forms.ActiveForm;
mf.callSomething();
best regards Michal
User | Count |
---|---|
103 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
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.