Hi Experts,
I have adding different 3 right click menus on 3 user defined forms while they load. I am removing these menus on close event of the respective form. But when three forms are open simultaneously all the 3 menus get displayed on each form.
These menus get displayed on system forms also
What I am doing wrong.
'Adding the right clicking menu in the earning form
oCreationPackage = SBOApplication.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_MenuCreationParams)
oCreationPackage.Type = SAPbouiCOM.BoMenuType.mt_STRING
oCreationPackage.UniqueID = "DelRow"
oCreationPackage.String = "Delete Row"
oCreationPackage.Enabled = True
oMenuItem = SBOApplication.Menus.Item("1280")
oMenus = oMenuItem.SubMenus
oMenus.AddEx(oCreationPackage)
Regards,
Atul.