Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Control System Button Menu
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Control System Button Menu

 Post Reply Post Reply
Author
Message
rdeboer View Drop Down
Groupie
Groupie


Joined: 29 April 2004
Location: Netherlands
Status: Offline
Points: 81
Post Options Post Options   Thanks (0) Thanks(0)   Quote rdeboer Quote  Post ReplyReply Direct Link To This Post Topic: Control System Button Menu
    Posted: 05 November 2010 at 9:35am
Hi,

In the RibbonBar Example, an advanced menu system with subitems is used like the picture shows

Is it also possible to use this menu system without using the ControlSystemButton?

I'd like to view that menu by the press of a button or combobox.






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: 05 November 2010 at 1:16pm
Hi,

Yes, its possible

    CommandBars.VisualTheme = xtpThemeRibbon

   Set ControlEdit = AddButton(CommandBars.ActiveMenuBar.Controls, xtpControlPopup, ID_MENU_EDIT)
    
    Dim P As CommandBar
    Set P = CommandBars.CreateCommandBar("CXTPRibbonSystemPopupBar")
    
    Set ControlEdit.CommandBar = P

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
rdeboer View Drop Down
Groupie
Groupie


Joined: 29 April 2004
Location: Netherlands
Status: Offline
Points: 81
Post Options Post Options   Thanks (0) Thanks(0)   Quote rdeboer Quote  Post ReplyReply Direct Link To This Post Posted: 05 November 2010 at 1:44pm
Thank you so much! Works like a charm!
Product: Xtreme Suite Pro (ActiveX) version 11
Platform: Windows XP SP3 (32bit)
Language: Visual Basic 6.0 SP6
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.172 seconds.