Print Page | Close Window

Ribbon with tabs and xtpControlButton etc.

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=19461
Printed Date: 25 April 2024 at 9:26pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Ribbon with tabs and xtpControlButton etc.
Posted By: aklein
Subject: Ribbon with tabs and xtpControlButton etc.
Date Posted: 03 February 2012 at 10:10am
Hi.
 
I am new to CommandBars (still evaluating) so I apologize if I am not wording this properly.
 
I have a CommandBar object that includes a Backstage View object and a Ribbon that displays tabs.
 
All is working great (so far) with the exception of the following:
 
I want to add an xtpControlButton to the Ribbon (or CommandBar?) that has no tab associated with it and just does something when you click on it and a Popup menu control.
 
So what I want is the following:
 
File (Backstage) ----Tab1 ---- Tab2--- -Tab3-----Command Button  ---- Tab4  --- Command Popup
 
I am building the ribbon in the order above (using InsertTab for the Tabs) and RibbonBar.Controls.ADD for the 2 other items.
 
What is being displayed is:
 
File (Backstage) ---Command Button --- Command Popup ---- Tab1 ---Tab2---Tab3---Tab4
 
How can I get the order correct? I have tried using the "before" parameter but it has no impact.
 
Thanks in advance!
AK
 



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