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 to close a dockable form

Thread ID:

Created:

Updated:

Platform:

Replies:

8044 Oct 17,2003 08:01 AM Oct 17,2003 11:29 AM Windows Forms 1
loading
Tags: Tools
Desis Machino
Asked On October 17, 2003 08:01 AM

If I add a form to the DockingManager and close a form that is docked to the main application, the form does not actually close (the close event for the form does not get fired). Is it possible for me to set up DockingManager so that it informs the form to close itelf and remove itself both from the DockingManager and the application. Thanks, Vikram.

Administrator [Syncfusion]
Replied On October 17, 2003 11:29 AM

Hi Vikram, If you close a form associated with a Docking Manager, only the dock visibility of the form changes and the form does not actually close. I have attached a sample application here that shows how this can be accomplished. I have handled the DockVisibilityChanged event to close, dispose and remove the form from the Docking Manager's controls list. You could also use the 'Display Docking Manager's Controls List' button to view the Docking Manager's controls list before and after closing the child form. Please let me know if this helps. Thank you. 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.

;