on 08-26-2009 9:54 AM
Hi
Any body tried adding the "What's This?" menu on user form Right Click menu list?
I mean, In Sales Order or any other system form, if we right click on a text box we can see "What's This?" menu item. Which actually resides in "Help -> Documentation".
How to enable the same menu item on user forms?
I am trying to enable the same menu item (UID 281). Not a user defined menu.
Thanks
Anoop
because menu uid = 281 is system menu id with direct link to help, you cannot use it. You may add own menu on right clcik, catch this menu in menuevent and do your logic behind.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
on form call
Private Sub addmenu(ByVal oform As SAPbouiCOM.Form)
Dim oCreationPackage As SAPbouiCOM.MenuCreationParams
oCreationPackage = SBO_Application.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_MenuCreationParams)
oCreationPackage.Type = SAPbouiCOM.BoMenuType.mt_STRING
oCreationPackage.UniqueID = "wt"
oCreationPackage.String = "Whats this"
oCreationPackage.Position = 100
oform.Menu.AddEx(oCreationPackage)
End Sub
it will add own menu to each item on form
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
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.