Posted 17 years ago
by Ernst
![Avatar](https://secure.gravatar.com/avatar/dc9ff57142a42788e8658a07c8242d8e.jpg?s=64&d=identicon&r=g)
I set the following:
window.CanFloat = ActiproSoftware.ComponentModel.DefaultableBoolean.False;
window.CanDockHostBottom = ActiproSoftware.ComponentModel.DefaultableBoolean.False;
window.CanDockHostLeft = ActiproSoftware.ComponentModel.DefaultableBoolean.False;
window.CanDockHostRight = ActiproSoftware.ComponentModel.DefaultableBoolean.False;
window.CanDockHostTop = ActiproSoftware.ComponentModel.DefaultableBoolean.False;
When user right clicks on the window's menu there is option to make it dockable. It is enabled despite the fact I set all "CanDock" properties to False. When clicked the window gets docked to the left.
Thanks
window.CanFloat = ActiproSoftware.ComponentModel.DefaultableBoolean.False;
window.CanDockHostBottom = ActiproSoftware.ComponentModel.DefaultableBoolean.False;
window.CanDockHostLeft = ActiproSoftware.ComponentModel.DefaultableBoolean.False;
window.CanDockHostRight = ActiproSoftware.ComponentModel.DefaultableBoolean.False;
window.CanDockHostTop = ActiproSoftware.ComponentModel.DefaultableBoolean.False;
When user right clicks on the window's menu there is option to make it dockable. It is enabled despite the fact I set all "CanDock" properties to False. When clicked the window gets docked to the left.
Thanks