We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How do I mimic the "Dockable" menu item?

Thread ID:





12731 Apr 9,2004 12:08 PM UTC Apr 28,2004 04:34 PM UTC WinForms 6
Tags: Tools
John Schroedl
Asked On April 9, 2004 12:08 PM UTC

I need to have a button and/or menu item in my application which triggers the same effect as Un-checking the "Dockable" item in a dockbar''s title context menu? Any suggestions? John

Administrator [Syncfusion]
Replied On April 11, 2004 05:26 AM UTC

Hi John, Please refer to the OnMenuDockable_Click (dockable window to MDI child) and MDIFormDockableItem_Click (MDI child to dockable window) event handlers in the DockingManager class for this purpose. I have implemented this behavior in a test_sample here. Please refer to the sample and let me know if this meets your requirements. Thanks for considering Syncfusion products. Regards, Guru Patwal Syncfusion, Inc.

John Schroedl
Replied On April 13, 2004 02:11 PM UTC

Hi Guru, Thanks for the response..the basic undock does seem to work and I''ll try incorporatin the bahavior into my application. One problem I see with your sample is to try the following: Run. Right-click and make the dockbar floating and then click the menu item -- an exception exception occurs because mdiform is null. John

Administrator [Syncfusion]
Replied On April 13, 2004 09:06 PM UTC

Hi John, I have tested my earlier sample in v2.0.3.0 and it seems to work fine here. Clicking on the Dockable menu item toggles the docking window between docked or floated state and tabbedMDI child state. Please let me know if you are using an earlier version of Essential Suite. We appreciate your cooperation. Regards, Guru Patwal Syncfusion, Inc.

John Schroedl
Replied On April 14, 2004 03:45 PM UTC

Hi Guru, I''m using the 2.0 Release Candidate ( John

Administrator [Syncfusion]
Replied On April 15, 2004 01:26 AM UTC

Hi John, I apologise for my incorrect response earlier. I could see the exception here when the "Dockable" menu item was used in conjunction with the DockContextMenu item. I will further investigate this issue and update you shortly. We appreciate your feedback and thanks for choosing Syncfusion. Regards, Guru Patwal Syncfusion, Inc.

Administrator [Syncfusion]
Replied On April 28, 2004 04:34 PM UTC

Hi John, I have now modified my earlier application to overcome this problem and have attached_it_here. Please refer to it and let me know if this works for you. We appreciate your continued interest in Syncfusion products. Regards, Guru Patwal Syncfusion, Inc.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon