![]() |
Added Context menu disabled after upgrade |
Post Reply
|
| Author | |
Toeeb
Newbie
Joined: 16 December 2008 Status: Offline Points: 7 |
Post Options
Thanks(0)
Quote Reply
Topic: Added Context menu disabled after upgradePosted: 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
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 13 January 2009 at 6:30am |
|
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)
Quote Reply
Posted: 13 January 2009 at 7:35am |
|
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)
Quote Reply
Posted: 14 January 2009 at 10:30am |
|
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
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 15 January 2009 at 4:09am |
|
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)
Quote Reply
Posted: 16 January 2009 at 5:47am |
|
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 |