Print Page | Close Window

.Net Style Tabbed Workspace Groups

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=1435
Printed Date: 28 June 2024 at 5:22pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: .Net Style Tabbed Workspace Groups
Posted By: tobi
Subject: .Net Style Tabbed Workspace Groups
Date Posted: 20 November 2004 at 4:23am

The automatic way to create menubar entries for tabbed workspace grouping described at
http://www.codejock.com/products/commandbars/activex/cb_tab_groups.asp - http://www.codejock.com/products/commandbars/activex/cb_tab_ groups.asp
does not work. The are no menuentires displayed...




Replies:
Posted By: Oleg
Date Posted: 22 November 2004 at 2:44am
to add window list use id = 35000:
.Add xtpControlButton, 35000, "&Window List", -1, False


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: tobi
Date Posted: 22 November 2004 at 12:43pm

The window list menu entries work ! What is not displayed are the menu entries for creating new vertical and horizontal tab groups !
What is the id for displaying them ? Does a overview of all built-in menu entries exist ? I havenīt found anything in the docs ?



Posted By: SuperMario
Date Posted: 22 November 2004 at 1:18pm
35002 would be for the workspace actions as in the link you posted.  Only the relevant code was shown in that page, it has been updated to included both the windows list and workspace actions.


Posted By: tobi
Date Posted: 22 November 2004 at 2:43pm

I tried to extend the codejock mdisample application by the code     
CommandBars.TabWorkspace.EnableGroups behind the line
Set Workspace = CommandBars.ShowTabWorkspace(True)
When I run the application it results in strange effects ...
In my application there are even stranger effects: There is only one document shown, new
ones are not displayed and still no entries in the menu ???



Posted By: Oleg
Date Posted: 23 November 2004 at 12:49am

Steps:

1.Add in Window popup:

  .Add xtpControlButton, 35002, "&Window Actions", -1, False

2. Enable Groups:

   Workspace.EnableGroups

3. Set for Document Frame:

  BorderStyle = none;

  WindowState = Normal;

 

ps. Entries in menu appear when you have 2 or more MDI child frames opened.

 



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: tobi
Date Posted: 23 November 2004 at 12:50pm
now it works ! thanks



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