Print Page | Close Window

How to return to the initial state of my dock pane

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=14857
Printed Date: 31 January 2025 at 9:45am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to return to the initial state of my dock pane
Posted By: supermip
Subject: How to return to the initial state of my dock pane
Date Posted: 29 July 2009 at 6:27am
Hello All,

I am experimenting the SIDSample project.

I would like to invoke your help for the following issue:

Here is from where I start:


I have three panes to the right side B is attached to A and C is attached to B.

I can show the Panes correctly by clicking on the right tab.


If I pinned the Pane A, all the other panes are pinned also. That is
one thing already stranged. (Maybe related to the attachto method ?)


If I unpinned Pane A, it returns correctly to his initial place.


If I unpinned Pane B, it does not return to his initial place. There is
now a gap between Pane A and Pane B.



How can I do to return to the first image ?

Thank you very much in advanced.
Best regards.
Michel.








Replies:
Posted By: unknow
Date Posted: 02 August 2009 at 6:56pm
It can be a big mess when the user has started playing with the panes  
I don't know if there is a special routine to restore the initial state, but instead here's a way I used already:
 
- Add a menu option (or a command line switch) to restore the default toolbar/pane configuration
- Set a flag in the registry
- on the next application start, if the flag is set, prevent from loading the toolbar/pane state
 


Posted By: Oleg
Date Posted: 06 August 2009 at 12:55am

Hi,

Before second and third pictures you had picture where all 3 panes are groupped in single pane. if you pin such group they all will be hidden.


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



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