Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Ribbon Quick Access Toolbar Rebuild
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Ribbon Quick Access Toolbar Rebuild

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


Joined: 13 March 2009
Status: Offline
Points: 52
Post Options Post Options   Thanks (0) Thanks(0)   Quote DaveB Quote  Post ReplyReply Direct Link To This Post Topic: Ribbon Quick Access Toolbar Rebuild
    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
Back to Top
jpbro View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 January 2007
Status: Offline
Points: 1354
Post Options Post Options   Thanks (0) Thanks(0)   Quote jpbro Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
DaveB View Drop Down
Groupie
Groupie


Joined: 13 March 2009
Status: Offline
Points: 52
Post Options Post Options   Thanks (0) Thanks(0)   Quote DaveB Quote  Post ReplyReply Direct Link To This Post 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
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.139 seconds.