Print Page | Close Window

test SaveState exists?

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=14806
Printed Date: 01 June 2024 at 12:49am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: test SaveState exists?
Posted By: nick.brandwood
Subject: test SaveState exists?
Date Posted: 23 July 2009 at 9:04am
Hi,
 
Still having fun with these excellent controls.
 
Particularly interesting the SaveState to registry option, will ensure that users find the same layout as when they last used the control.
 
There's some things that are puzzling me:
 
1. Is there a way test if a state has been saved, other then by checking for the existence of a registry key?
2. LoadState does not return any clue as to if it "worked" or not (apart from Panescount>0).
 
any clues?
 
nick



Replies:
Posted By: Oleg
Date Posted: 24 July 2009 at 4:19am
Hi,
 
Actually Panescount>0 is good check. You can call it before you create Panes and if PansCount = 0, create standard Layout.


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


Posted By: nick.brandwood
Date Posted: 27 July 2009 at 11:15am
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