![]() |
QuickAccess control hide |
Post Reply
|
| Author | |
chrisABC
Senior Member
Joined: 05 June 2008 Status: Offline Points: 258 |
Post Options
Thanks(0)
Quote Reply
Topic: QuickAccess control hidePosted: 16 June 2008 at 3:38am |
|
How do I add controls to the RibbonBar QuickAccessBar that are not visible, but can be turned ON or OFF with the Customization Dialog?
In other words, how can I use program code to hide or show controls in the QuickAccessBar ? |
|
|
Chris (Manchester, UK) -- www.abc6.co.uk ---- Using CodeJock ActiveX Suite 13.1.0 with Windows8, VB6 SP6
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 17 June 2008 at 12:39am |
|
Hi,
Try this code
Set Control = RibbonBar.QuickAccessControls.Add(xtpControlButton, ID_FILE_PRINT, "&Print")
Control.HideFlags = xtpHideCustomize |
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
chrisABC
Senior Member
Joined: 05 June 2008 Status: Offline Points: 258 |
Post Options
Thanks(0)
Quote Reply
Posted: 17 June 2008 at 2:17am |
|
Thank you. That works.
And then (as suggested by ijwelch) this also works and is just 1 line RibbonBar.QuickAccessControls.Add(xtpControlButton, ID_FILE_PRINT, "&Print").HideFlags = xtpHideCustomize |
|
|
Chris (Manchester, UK) -- www.abc6.co.uk ---- Using CodeJock ActiveX Suite 13.1.0 with Windows8, VB6 SP6
|
|
![]() |
|
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 |