Print Page | Close Window

Load layout finished event?

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=1741
Printed Date: 01 October 2024 at 5:20am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Load layout finished event?
Posted By: JamesH
Subject: Load layout finished event?
Date Posted: 02 February 2005 at 3:31pm

Is there a way to know when a layout has finished loading and all of the attach events have fired?

If I have say 10 panes created but the layout being loaded only has 8 panes how do I know I need to programmatically re-create the 2 missing panes?  (or perhaps delete the 2 windows that no longer have an associated pane?)

If there was an event that happened once the load was finished (and the attach events created by it have fired) I could figure it out in there.  Does such a thing exist or is there another way to do this?

Thanks, James.




Replies:
Posted By: Oleg
Date Posted: 03 February 2005 at 9:42am
you can check PanesCount property

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


Posted By: JamesH
Date Posted: 03 February 2005 at 5:00pm

Thank you for the response Oleg.

Checking that count lets me know if any panes were not part of the layout.  I also keep track of the pane IDs that existed before the load and then loop through these calling FindPane to identify which panes were not part of the layout.  I can then re-create these panes.

Thanks again.




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