Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Docking Pane
  New Posts New Posts RSS Feed - DockingPaneManager: Disable tab
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

DockingPaneManager: Disable tab

 Post Reply Post Reply
Author
Message
rdeboer View Drop Down
Groupie
Groupie


Joined: 29 April 2004
Location: Netherlands
Status: Offline
Points: 81
Post Options Post Options   Thanks (0) Thanks(0)   Quote rdeboer Quote  Post ReplyReply Direct Link To This Post Topic: DockingPaneManager: Disable tab
    Posted: 27 June 2005 at 10:01am

How do I disable a tab in the DockingPane Manager?

 

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: 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.
Back to Top
rdeboer View Drop Down
Groupie
Groupie


Joined: 29 April 2004
Location: Netherlands
Status: Offline
Points: 81
Post Options Post Options   Thanks (0) Thanks(0)   Quote rdeboer Quote  Post ReplyReply Direct Link To This Post 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


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: 28 June 2005 at 11:23am
Please send in a feature request to see if this can be added.
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.141 seconds.