![]() |
DockingPaneManager: Disable tab |
Post Reply
|
| Author | |
rdeboer
Groupie
Joined: 29 April 2004 Location: Netherlands Status: Offline Points: 81 |
Post Options
Thanks(0)
Quote Reply
Topic: DockingPaneManager: Disable tabPosted: 27 June 2005 at 10:01am |
|
How do I disable a tab in the DockingPane Manager?
|
|
![]() |
|
SuperMario
Senior Member
Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
Quote Reply
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.
|
|
![]() |
|
rdeboer
Groupie
Joined: 29 April 2004 Location: Netherlands Status: Offline Points: 81 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
SuperMario
Senior Member
Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
Quote Reply
Posted: 28 June 2005 at 11:23am |
|
Please send in a feature request to see if this can be added.
|
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |