Print Page | Close Window

Attaching to closed pane cause a crash

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


Topic: Attaching to closed pane cause a crash
Posted By: JamesH
Subject: Attaching to closed pane cause a crash
Date Posted: 27 January 2005 at 2:11pm

What I was hoping to do was attach two panes (to create a group) but if one pane is closed I was hoping the 2nd pane being attached would take the size and position from the closed pane it is attaching to.  When the closed pane becomes unclosed they would be a group.

However, if I try to attach a pane to another pane which has been closed I get a crash.

Does anyone know of a fix or work around for this?




Replies:
Posted By: SuperMario
Date Posted: 27 January 2005 at 2:16pm
Try destroying the hidden pane, then recreate the pane and attach the other panes.  Then set hidden to true of the hidden pane.


Posted By: JamesH
Date Posted: 27 January 2005 at 2:19pm
Yikes!  That's quite the kludgy work-around (and an error return rather than a crash would be nice), but I'll give it a shot.  Thanks for the super fast response....



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