on 04-05-2015 4:13 PM
Dear Expert,
I want to add a menu in a particular system form's (say GRPO screen only) right-click context menu.
But how can I check the system form in RightClickEvent? RightClickEvent has a property called "FormUID", but it is not unique (changes every time form open) for a system form.
Regards
Sibasish
As an alternative I am checking the active form and its FormType:
private void SboApplication_RightClickEvent(ref ContextMenuInfo eventInfo, out bool BubbleEvent)
{
BubbleEvent = true;
if (eventInfo.BeforeAction)
{
SAPbouiCOM.Form oForm = SBO_Application.Forms.ActiveForm;
if (oForm.TypeEx == "143") //--GRPO--
{
//---Operation---
Is it the right way?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.