Print Page | Close Window

Restoring pane size/position + other properties

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=9659
Printed Date: 31 January 2025 at 7:02am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Restoring pane size/position + other properties
Posted By: Neil
Subject: Restoring pane size/position + other properties
Date Posted: 21 February 2008 at 11:08am
I am writing an application that uses DockingPanes.

Different docking panes are created at run time, depending on the users interaction. What I want to do is when a pane needs to be created during runtime, to load/apply the previously saved properties for that pane only.

The examples I have seen appear to load all panes in one go. Is there any way to load pane settings on an as need basis - i.e. if user interaction with the application means that a particular Pane is not required, then its setting are not loaded from file/Registry whatever (or atleast, the pane is not displayed).

What I'm trying to achieve is similar to VB forms that remember for setting like position, size, back/forecolor etc.

I am using VB6. Some sample code that shows how I may do this will be very useful.

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