Print Page | Close Window

DockingPaneManager: Disable tab

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=2466
Printed Date: 04 July 2024 at 12:22pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: DockingPaneManager: Disable tab
Posted By: rdeboer
Subject: DockingPaneManager: Disable tab
Date Posted: 27 June 2005 at 10:01am

How do I disable a tab in the DockingPane Manager?

 




Replies:
Posted By: SuperMario
Date Posted: 28 June 2005 at 10:25am
Hmmm, not sure you can.  You can disable it from being move, docked, etc, but not sure about completely disabling the button.  Maybe in Action event you can cancel all action for the pane you want to disable to see if that works.


Posted By: rdeboer
Date Posted: 28 June 2005 at 11:01am
I'm afraid that won't work in my case. The Panemanager doesn't fire the Action event, because in our software the Panes aren't changed (Moved/Undocked, etc)

It would be a nice feature for future versions, something like:

Set p = DockingPaneManager.FindPane(ID_TESTPANE)
If Not p Is Nothing Then
    p.Enabled = false
End If




Posted By: SuperMario
Date Posted: 28 June 2005 at 11:23am
Please send in a feature request to see if this can be added.



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