Print Page | Close Window

Tabbed Workspace

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=18399
Printed Date: 23 November 2024 at 9:04am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Tabbed Workspace
Posted By: StefanM
Subject: Tabbed Workspace
Date Posted: 18 May 2011 at 5:15am
I've got some strange Problems with my App when i use Workspace.enablegroups
 
1) When i Enable Groups the MDI Child Form is shown with it's caption bar (form maximized), otherwise the form is shown correct
 
Here is a screenshot without enablegroups
 
Here is a screenshot with enablegroups
 
2) When i use enablegroups after some Time i got some wired problems. When i switch between the tabs suddenly the MDI Child is displayed maximized and the tabs aren't displayed.
 
Here is the code how i display my Workspace
  With Workspace
    .EnableGroups
    .IgnoreFlickersOnActivate = True
    .AutoTheme = False
    .NewTabPosition = xtpWorkspaceNewTabNextToActive
    With .PaintManager
      .OneNoteColors = True
      .Appearance = xtpTabAppearancePropertyPage2003
      .Position = xtpTabPositionTop
      .HeaderMargin.Top = 10
      .MultiRowFixedSelection = True
    End With
  End With
 
Thanks in advance for your help
Stefan



Replies:
Posted By: Oleg
Date Posted: 19 May 2011 at 1:31am
HI,

If you set EnableGroups, don't set State = maximize for MDI Child. 


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


Posted By: StefanM
Date Posted: 19 May 2011 at 1:57am
http://forum.codejock.com/uploads/6746/TabbedWorkspaceProb.zip - uploads/6746/TabbedWorkspaceProb.zip
 
Hello Oleg,
 
unfortunately this is not the problem. I'm facing exactly the same behaviour when i use your MDI-Sample.
 
You can find the overworked sample attached to this post. I've set the frmDocument Windowstate to normal and searched through the whole code for vbmaximized and WindowState.
 
Stefan


Posted By: StefanM
Date Posted: 19 May 2011 at 7:02am
Hello Oleg,
 
unfortunately this is not the problem. I'm facing exactly the same behaviour when i use your MDI-Sample.
 
You can find the overworked sample attached to this post. I've set the frmDocument Windowstate to normal and searched through the whole code for vbmaximized and WindowState.
 
Stefan
 
http://forum.codejock.com/uploads/6746/TabbedWorkspaceProb.zip - uploads/6746/TabbedWorkspaceProb.zip



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