Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Docking Pane
  New Posts New Posts RSS Feed - Hiding a Pane
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Hiding a Pane

 Post Reply Post Reply
Author
Message
Shawshank View Drop Down
Senior Member
Senior Member


Joined: 16 October 2005
Status: Offline
Points: 117
Post Options Post Options   Thanks (0) Thanks(0)   Quote Shawshank Quote  Post ReplyReply Direct Link To This Post Topic: Hiding a Pane
    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?

Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
John31 View Drop Down
Groupie
Groupie
Avatar

Joined: 08 December 2005
Location: United States
Status: Offline
Points: 70
Post Options Post Options   Thanks (0) Thanks(0)   Quote John31 Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 23 February 2006 at 11:50am
DockingPane1.ShowPane A.Id

try using the id of the pane
Back to Top
John31 View Drop Down
Groupie
Groupie
Avatar

Joined: 08 December 2005
Location: United States
Status: Offline
Points: 70
Post Options Post Options   Thanks (0) Thanks(0)   Quote John31 Quote  Post ReplyReply Direct Link To This Post Posted: 23 February 2006 at 11:52am

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

Thanks

 

Regards

John Layton
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.188 seconds.