Added Context menu disabled after upgrade |
Post Reply |
Author | |
Toeeb
Newbie Joined: 16 December 2008 Status: Offline Points: 7 |
Post Options
Thanks(0)
Posted: 13 January 2009 at 6:02am |
Hi, I upgrade to version 12.1.1 and realised all context menu's are now disabled when I right-clicked on the toolbar. CommandBars_ToolBarContextMenu ContextMenu.Controls.Add xtpControlButton,ID_MENUCONTEXT_CONFIGURE, "Configure" Has anyone else experienced this and how can I resolve this issue? Many thanks in advance. |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Do you have Update handler for ID_MENUCONTEXT_CONFIGURE ? try add it and set Control.Enabled to True.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Toeeb
Newbie Joined: 16 December 2008 Status: Offline Points: 7 |
Post Options
Thanks(0)
|
Tried it and menus still disabled. The same issue occurs in the RibbonSample VB 6 project. It works fine prior to version 12. Any other suggestion please? I am pulling out what little hair I have left at the moment. Many thanks |
|
Toeeb
Newbie Joined: 16 December 2008 Status: Offline Points: 7 |
Post Options
Thanks(0)
|
Hi!
Just wondering if anyone is experiencing this problem apart from myself. I have now on to something else for now but I still have to come back to this issue. Eagerly waiting any response. |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hello,
Thanks, see it now. Please as workaround add such code:
Private Sub CommandBars_ToolBarContextMenu(ByVal ToolBar As XtremeCommandBars.ICommandBar, ByVal ContextMenu As XtremeCommandBars.ICommandBar)
Dim Control As CommandBarControl Set Control = ContextMenu.Controls.Add(xtpControlButton, ID_MENUCONTEXT_CONFIGURE, "Configure") Control.Enabled = True Control.Flags = Control.Flags Or 8 End Sub |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Toeeb
Newbie Joined: 16 December 2008 Status: Offline Points: 7 |
Post Options
Thanks(0)
|
Thank you! you're a star!
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |