Print Page | Close Window

How to set a separator on popup

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=8166
Printed Date: 03 March 2025 at 4:17am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to set a separator on popup
Posted By: aimcorp
Subject: How to set a separator on popup
Date 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



Replies:
Posted By: Oleg
Date 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


Posted By: aimcorp
Date Posted: 26 September 2007 at 7:52am
Thanks a Lot!



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net