Load layout finished event? |
Post Reply |
Author | |
JamesH
Senior Member Joined: 01 December 2004 Status: Offline Points: 149 |
Post Options
Thanks(0)
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. |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
you can check PanesCount property
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
JamesH
Senior Member Joined: 01 December 2004 Status: Offline Points: 149 |
Post Options
Thanks(0)
|
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. |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |