Print Page | Close Window

Hiding a Pane

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=3612
Printed Date: 30 June 2024 at 12:24pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Hiding a Pane
Posted By: Shawshank
Subject: Hiding a Pane
Date Posted: 06 February 2006 at 11:39pm

I'm attempting to hide a Pane which I have some other controls on. I've tried the following:

DockingPaneManager.HidePane Pane1

Pane1.Hide = True

Pane1.Hide

None of the options truly hide the Pane. Instead, it just appears as a strip docked down the left side. I'd prefer to hide the Pane completely. Is that possible?




Replies:
Posted By: SuperMario
Date Posted: 07 February 2006 at 7:21am
To "minimize" the pane:
    Set A = DockingPaneManager.FindPane(1)
    A.Selected = True
    A.Hidden = True

To "remove" the pane:
    Set A = DockingPaneManager.FindPane(1)
    A.Close


Posted By: John31
Date Posted: 23 February 2006 at 10:15am

How do you make the pane appear again.

I am trying

DockingPane1.ShowPane A

but it has no effect.

 



-------------
Regards

John Layton


Posted By: SuperMario
Date Posted: 23 February 2006 at 11:50am
DockingPane1.ShowPane A.Id

try using the id of the pane


Posted By: John31
Date Posted: 23 February 2006 at 11:52am

Well that was obvious if you read the syntax correctly!!!!

Thanks

 



-------------
Regards

John Layton



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