Print Page | Close Window

Paint Problem 10.0.4

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=5935
Printed Date: 20 June 2025 at 1:32am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Paint Problem 10.0.4
Posted By: hologram
Subject: Paint Problem 10.0.4
Date Posted: 28 December 2006 at 7:06pm
Hi.
 
I have a CommandBar and DockingBar control on the same form. Until now, I have always had the DockingPane control on the form 'sent to back' and the CommandBar in the front. This gives me the particular layout I need.
 
With 10.0.4, suddenly, resizing or moving panes causes there to be gaps where the pane was. The only way it beahves nicely is if I send the DockingPane Manager to the back.. but that is not what I want.
 
Can you please advise?
 


-------------
Jason



Replies:
Posted By: LittleJK
Date Posted: 02 January 2007 at 11:17am
Indeed we came across the same issue when we switched to 10. You have to do a manual re-calculate in the dockingpanemanger_actions event for the docking panes to work with the command bar when set to the back and the docking pane is set to the front ...

Examples:
'When Pinning a Pane

If Action = PaneActionPinned Then DockingPaneManager.RecalcLayout

'When attaching a pane

If Action = PaneActionDocked Then DockingPaneManager.RecalcLayout

'When closing out a pane

If Action = PaneActionClosed Then DockingPaneManager.RecalcLayout






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