Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - BeginGroup At Expanding Menu
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

BeginGroup At Expanding Menu

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


Joined: 28 June 2007
Status: Offline
Points: 70
Post Options Post Options   Thanks (0) Thanks(0)   Quote corpcon Quote  Post ReplyReply Direct Link To This Post Topic: BeginGroup At Expanding Menu
    Posted: 17 December 2007 at 1:43am
How do I begin a group starting at an expanding menu? In the attached image, I want a BeginGroup line to appear directly above "Options".
 
 
The code I have in this segment is ...
 
        AddButton .Controls, xtpControlButton, ID_TOOLS_USESAMPLEDATA, True
        ' << Begin group here >>
        Set ControlOptions = .Controls.Add(xtpControlPopup, 0, "&Options", -1, False)
        AddButton ControlOptions.CommandBar.Controls, xtpControlButton, ID_OPTIONS_PERSONAL
        AddButton ControlOptions.CommandBar.Controls, xtpControlButton, ID_OPTIONS_GLOBAL
Back to Top
ijwelch View Drop Down
Senior Member
Senior Member


Joined: 20 June 2006
Status: Offline
Points: 262
Post Options Post Options   Thanks (0) Thanks(0)   Quote ijwelch Quote  Post ReplyReply Direct Link To This Post Posted: 17 December 2007 at 2:59am
AddButton .Controls, xtpControlButton, ID_TOOLS_USESAMPLEDATA, True
        ' << Begin group here >>
        Set ControlOptions = .Controls.Add(xtpControlPopup, 0, "&Options", -1, False)
        ControlOptions.BeginGroup=True
        AddButton ControlOptions.CommandBar.Controls, xtpControlButton, ID_OPTIONS_PERSONAL
        AddButton ControlOptions.CommandBar.Controls, xtpControlButton, ID_OPTIONS_GLOBAL
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.125 seconds.