Posted 17 years ago by Dieter Smode
Version: 2.0.91
Avatar
I'd like to prevent the user from reordering tabs for tabbed MDI documents. How can I do that?

Thanks.

Dieter

Comments (4)

Posted 17 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
There isn't an option for that on DockManager however once a document window is activated, you can walk up its parent control chain to look for a TabStrip. Once you find it, set its AutoInternalDragDrop property to false.


Actipro Software Support

Posted 17 years ago by Dieter Smode
Avatar
AutoInternalDragDrop is already false. Besides that setting it to false causes TabStripPageTabDragStart to be fired. But there is no means to cancel drag&drop from this event. And I don't see any other drag&drop event being fired.

Still clueless ...

Dieter
Posted 17 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Ahh yes you are correct. Ok, we've added a DockManager.TabbedMdiDragDropEnabled property for the next maintenance release that should do the trick.


Actipro Software Support

Posted 17 years ago by Dieter Smode
Avatar
Sounds great. Thanks!

Dieter
The latest build of this product (v24.1.0) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.