Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Problem with EnableGroups() and ShowTabWorkspace
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Problem with EnableGroups() and ShowTabWorkspace

 Post Reply Post Reply
Author
Message
AndyL View Drop Down
Newbie
Newbie


Joined: 07 November 2006
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote AndyL Quote  Post ReplyReply Direct Link To This Post Topic: Problem with EnableGroups() and ShowTabWorkspace
    Posted: 13 November 2006 at 12:34pm
Hi,
I want to be able to hide the TabWorkspace on a command bar.
Using ShowTabWorkspace(false) method works fine unless I create a command bar with Tab groups enabled using the WorkSpace.EnableGroups() method.
 
To test my theory I took the Sample app "MDI Sample", added a menu item with the following code in it.

case ID.VIEW_HIDE:

CommandBars.ShowTabWorkspace(false);

break;

If I comment out the EnableGroups() method then the code above works. If I put the code back as in the sample then the code doesn't do anything.
Is there a way of turning off the Tab Groups or is there another way of turning off the TabWorkspace when using Groups?
 
Andy
 
Back to Top
AndyL View Drop Down
Newbie
Newbie


Joined: 07 November 2006
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote AndyL Quote  Post ReplyReply Direct Link To This Post Posted: 14 November 2006 at 11:49am
Just had an update from CodeJock.
Apparently it is not possible to turn off EnableGroups() once it is turned on.
It looks like turning off the TabWorkspace isn't possible in this situation
 
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.203 seconds.