Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - How to set a separator on popup
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to set a separator on popup

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


Joined: 20 September 2007
Location: Puerto Rico
Status: Offline
Points: 21
Post Options Post Options   Thanks (0) Thanks(0)   Quote aimcorp Quote  Post ReplyReply Direct Link To This Post Topic: How to set a separator on popup
    Posted: 25 September 2007 at 6:15pm

We’re new to xtreme suite ActiveX 11.13.  

 

After working the xtremeCommandbar successfully; we are not sure how to set a separator between items on a popup control. 

 
For example have three entries then a separator then another item <this is vertical on the toolbar.

 

This is part of the code:

 

Set ControlPreferences = RibbonBar.Controls.Add(xtpControlPopup, 5, "Preferencias")

With ControlPreferences

  .Flags = xtpFlagRightAlign

  .CommandBar.Controls.Add xtpControlButton, ID_PREF_REA, "Reactivate Warnings"

  .CommandBar.Controls.Add xtpControlButton, ID_PREF_RIA, "Re-Initialize Database"

  .CommandBar.Controls.Add xtpControlButton, ID_PREF_UPA, "Use Special Window"

 

>> a separator here

 

  .CommandBar.Controls.Add xtpControlButton, ID_PREF_EDE, "Enter specialist data"

  .ToolTipText = "": .Width = 100

 End With

 

Any help highly appreciated!
 
Ariel Maisonet
Aim Corporation
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: 26 September 2007 at 1:02am
Hi,
 
Set Control = .CommandBar.Controls.Add (xtpControlButton, ID_PREF_UPA, "Use Special Window")
  

Set Control =  .CommandBar.Controls.Add (xtpControlButton, ID_PREF_EDE, "Enter specialist data")

Control.BeginGroup = True;

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


Joined: 20 September 2007
Location: Puerto Rico
Status: Offline
Points: 21
Post Options Post Options   Thanks (0) Thanks(0)   Quote aimcorp Quote  Post ReplyReply Direct Link To This Post Posted: 26 September 2007 at 7:52am
Thanks a Lot!
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.