Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Hide tabs bar in Ribbon
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Hide tabs bar in Ribbon

 Post Reply Post Reply
Author
Message
Philip View Drop Down
Newbie
Newbie
Avatar

Joined: 25 November 2006
Location: Romania
Status: Offline
Points: 28
Post Options Post Options   Thanks (0) Thanks(0)   Quote Philip Quote  Post ReplyReply Direct Link To This Post Topic: Hide tabs bar in Ribbon
    Posted: 25 November 2006 at 8:26pm
Hi!
 
Is it possible to hide the tabs bar in the Ribbon?
 
I'm only using one tab with multiple groups in it and the tab is useless, because the users don't have anything else to select.
 
I've set the visible of the tab to false but the tabs bar is still present and is taking up space in the window.
 
Here is my code in vb6:
   
Dim RibbonBar As RibbonBar
Dim RibbonTab As RibbonTab
Dim RibbonGroup As RibbonGroup

Set RibbonBar = CommandBars1.AddRibbonBar("The Ribbon")
      RibbonBar.ShowQuickAccess = False
   
Set RibbonTab = RibbonBar.InsertTab(0, "Main") 'this is the only tab I create
      RibbonTab .Id = 1000
      RibbonTabVisible = False
Set RibbonGroup = TabMain.Groups.AddGroup("&Caption", 1001)

Please help! Thank you.
BORG Design - Sultanescu Philip
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 27 November 2006 at 12:46am
Hello,
Sorry, you can't hide them. We will check if it will be possible to add for next release.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Philip View Drop Down
Newbie
Newbie
Avatar

Joined: 25 November 2006
Location: Romania
Status: Offline
Points: 28
Post Options Post Options   Thanks (0) Thanks(0)   Quote Philip Quote  Post ReplyReply Direct Link To This Post Posted: 27 November 2006 at 9:11am
Would be great if it is, thank you!
 
A .TabPaintManager.height property like could be possible, the width already exists so why not. I could set the height to 0 if i don't want it to be visible.
BORG Design - Sultanescu Philip
Back to Top
Philip View Drop Down
Newbie
Newbie
Avatar

Joined: 25 November 2006
Location: Romania
Status: Offline
Points: 28
Post Options Post Options   Thanks (0) Thanks(0)   Quote Philip Quote  Post ReplyReply Direct Link To This Post Posted: 21 December 2006 at 9:11am
Thanks for adding RibbonBar.TabsVisible = False in 10.4
 
Works fine.
BORG Design - Sultanescu Philip
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.048 seconds.