Print Page | Close Window

Problem with EnableGroups() and ShowTabWorkspace

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=5509
Printed Date: 29 December 2024 at 6:46am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Problem with EnableGroups() and ShowTabWorkspace
Posted By: AndyL
Subject: Problem with EnableGroups() and ShowTabWorkspace
Date 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
 



Replies:
Posted By: AndyL
Date 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
 



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net