Print Page | Close Window

Ribbon Quick Access Toolbar Rebuild

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=22043
Printed Date: 28 April 2024 at 8:11pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Ribbon Quick Access Toolbar Rebuild
Posted By: DaveB
Subject: Ribbon Quick Access Toolbar Rebuild
Date Posted: 21 November 2013 at 11:47pm
I have a form in my program that lets the user select all the tools that they want to have on the Quick Access Toolbar.  After the user makes the selections, I need to remove all existing tools from the Quick Access Toolbar and rebuild it with the new ones.  How do I remove them?

Xtreme SuitePro (ActiveX) version 15.0.2 
Windows 7 (64bit)
Visual Basic 6.0 SP6



-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 3
Language: Visual Basic 6.0



Replies:
Posted By: jpbro
Date Posted: 22 November 2013 at 12:55pm
When you create your Ribbon, assign it to a module level variable of XtremeCommandBars.RibbonBar type (for example Private mo_Ribbon As XtremeCommandBars.RibbonBar)

When you want to delete the QuickAccess controls, you can then do it as follows:


mo_Ribbon.QuickAccessControls.DeleteAll



-------------
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3

Language: Visual Basic 6.0 SP6



Posted By: DaveB
Date Posted: 04 December 2013 at 8:06pm
Works great.   It would have been nice if this was in the help file.  There is nothing about QuickAccessControls.DeleteAll that I could find.

-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 3
Language: Visual Basic 6.0



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