Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - MDI tabs -- how to turn off?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

MDI tabs -- how to turn off?

 Post Reply Post Reply
Author
Message
chrisABC View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 June 2008
Status: Offline
Points: 258
Post Options Post Options   Thanks (0) Thanks(0)   Quote chrisABC Quote  Post ReplyReply Direct Link To This Post Topic: MDI tabs -- how to turn off?
    Posted: 08 January 2009 at 5:24am
The documentation for CommandBars says that the MDI Tabbed interface can "easily be turned on and off via code".  I can turn it on, but how do I turn it off?

<later> Here is more information.

Using the ActiveX Sample RibbonMDISample, I can see that
    CommandBars.ShowTabWorkspace (True/False)
does work perfectly. No problem here. This turns TabWorkspace on or off.

But using ActiveX Sample  GUISample
when I add the line CommandBars.ShowTabWorkspace (False) it does not have any effect. The TabWorkSpace is always shown.

And in my own application, ShowTabWorkspace (False) does not work. I cannot turn off the TabWorkspace.

I guess there is something that is overruling the TabWorkspace False.

Any ideas what is causing this??


Chris (Manchester, UK) -- www.abc6.co.uk ---- Using CodeJock ActiveX Suite 13.1.0 with Windows8, VB6 SP6
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 08 January 2009 at 8:50am
All you need is CommandBars.ShowTabWorkspace False, see RibbonMDISample to see it work.

Back to Top
chrisABC View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 June 2008
Status: Offline
Points: 258
Post Options Post Options   Thanks (0) Thanks(0)   Quote chrisABC Quote  Post ReplyReply Direct Link To This Post Posted: 08 January 2009 at 10:23am
Thank you for the reply.

But please check my original message. I added note that ShowTabWorkspace False does work OK in the RibbonMDISample, but does NOT work in other samples, or in my own application.

There must be something else that is preventing the ShowTabWorkspace  false from working.  For example, I think the RibbonMDISample does not use Docking Manager, but my app with Docking Manager does include Docking.

Any more ideas please what stops ShowTabWorkspace False from working?
Chris (Manchester, UK) -- www.abc6.co.uk ---- Using CodeJock ActiveX Suite 13.1.0 with Windows8, VB6 SP6
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 08 January 2009 at 3:48pm
maybe grouping?
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.170 seconds.