Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - 2nd Sub Menu Item (2x) xtpControlPopup
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

2nd Sub Menu Item (2x) xtpControlPopup

 Post Reply Post Reply
Author
Message
daveED View Drop Down
Newbie
Newbie


Joined: 16 August 2006
Location: Australia
Status: Offline
Points: 37
Post Options Post Options   Thanks (0) Thanks(0)   Quote daveED Quote  Post ReplyReply Direct Link To This Post Topic: 2nd Sub Menu Item (2x) xtpControlPopup
    Posted: 23 August 2006 at 1:39pm
hi,
 
you showed how to
 
Item One
    xtpControlPopup >  Sub 2 Item 1
                                     xtpControlPopup >  Sub 3 Item 1
                                                                      Sub 3 Item 2
 
Set Control = .Add(xtpControlPopup, 0, "Extra Styles")
try
 
Set Control =  Control.CommandBar.Controls.Add(xtpControlPopup, 0, "Extra Styles")
 
------------------------------------------------------------------------------------
'      Above Solution Answed
------------------------------------------------------------------------------------
 
 
I am trying to achaive this;
 
Is this Possible in just Code
 
Why? because in Ribbon sample i can't get the menu from Command Desinger to show up on Richt click ContextMenu.
------------------------------------------------------------------------------------
 
Item One
    xtpControlPopup >  Sub 2 Item 1
Item Two                       BeginGroup
                                     xtpControlPopup >  Sub 3 Item 1
                                      BeginGroup                BeginGroup
                                     Sub 2 Item 2             Sub 3 Item 2
                                     Sub 2 Item 3              BeginGroup
                                     Sub 2 Item 5             Sub 3 Item 3
                                     Sub 2 Item 6
                                     xtpControlPopup >  Another Sub 1
                                                                       BeginGroup
                                                                      Another Sub 2
 
 
Thanks,
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 23 August 2006 at 3:05pm
Hi,
 
Just use another name for popup control:
 
Set ControlPopupControl.CommandBar.Controls.Add(xtpControlPopup, 0, "Popup1")
 
Set ControlPopupControl.CommandBar.Controls.Add(xtpControlPopup, 0, "Popup2")
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
daveED View Drop Down
Newbie
Newbie


Joined: 16 August 2006
Location: Australia
Status: Offline
Points: 37
Post Options Post Options   Thanks (0) Thanks(0)   Quote daveED Quote  Post ReplyReply Direct Link To This Post Posted: 23 August 2006 at 3:54pm
Originally posted by oleg oleg wrote:

Hi,
 
Just use another name for popup control:
 
Set ControlPopupControl.CommandBar.Controls.Add(xtpControlPopup, 0, "Popup1")
 
Set ControlPopupControl.CommandBar.Controls.Add(xtpControlPopup, 0, "Popup2")
 
 
Thank you thats Great,  
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.063 seconds.