![]() |
Ribbon Quick Access Toolbar Rebuild |
Post Reply ![]() |
Author | |
DaveB ![]() Groupie ![]() Joined: 13 March 2009 Status: Offline Points: 52 |
![]() ![]() ![]() ![]() ![]() 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 |
|
![]() |
|
jpbro ![]() Senior Member ![]() ![]() Joined: 12 January 2007 Status: Offline Points: 1354 |
![]() ![]() ![]() ![]() ![]() |
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:
|
|
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3 Language: Visual Basic 6.0 SP6 |
|
![]() |
|
DaveB ![]() Groupie ![]() Joined: 13 March 2009 Status: Offline Points: 52 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |