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.
Unfortunately, activation email could not send to your email. Please try again.

How do I mimic the "Dockable" menu item?

Thread ID:

Created:

Updated:

Platform:

Replies:

12731 Apr 9,2004 08:08 AM Apr 28,2004 12:34 PM Windows Forms 6
loading
Tags: Tools
John Schroedl
Asked On April 9, 2004 08:08 AM

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 01:26 AM

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 10:11 AM

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 05:06 PM

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 11:45 AM

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

Administrator [Syncfusion]
Replied On April 14, 2004 09:26 PM

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 12:34 PM

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.

CONFIRMATION

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.

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.

;