Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - .Net Style Tabbed Workspace Groups
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

.Net Style Tabbed Workspace Groups

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

Joined: 09 September 2004
Location: Germany
Status: Offline
Points: 451
Post Options Post Options   Thanks (0) Thanks(0)   Quote tobi Quote  Post ReplyReply Direct Link To This Post Topic: .Net Style Tabbed Workspace Groups
    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
does not work. The are no menuentires displayed...

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: 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
Back to Top
tobi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 September 2004
Location: Germany
Status: Offline
Points: 451
Post Options Post Options   Thanks (0) Thanks(0)   Quote tobi Quote  Post ReplyReply Direct Link To This Post 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 ?

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: 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.
Back to Top
tobi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 September 2004
Location: Germany
Status: Offline
Points: 451
Post Options Post Options   Thanks (0) Thanks(0)   Quote tobi Quote  Post ReplyReply Direct Link To This Post 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 ???

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: 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
Back to Top
tobi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 September 2004
Location: Germany
Status: Offline
Points: 451
Post Options Post Options   Thanks (0) Thanks(0)   Quote tobi Quote  Post ReplyReply Direct Link To This Post Posted: 23 November 2004 at 12:50pm
now it works ! thanks
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.156 seconds.