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.

Dock

Thread ID:

Created:

Updated:

Platform:

Replies:

34199 Sep 6,2005 07:41 AM Sep 8,2005 05:06 AM Windows Forms 2
loading
Tags: Tools
Administrator [Syncfusion]
Asked On September 6, 2005 07:41 AM

Im using docking manager in an MDI application. In the application different form are docked in docking manager. I need to change a particular form (say form x) to modal dialog. I have added a menu item say MakeModal in the form which has to be made modal dialog (form x). In the MakeModal menuitem click event handler, I have removed the form from Docking manager by, form.TopLevel = true; form.Visible = false; form.ShowDialog(); Now at some point of time in the application i need to dock the form again in the docking manager. To do this I have added the following code in the MakeDock menuItem event handler. form.TopLevel = false; this.dockingManager.DockControl(form, this, Syncfusion.Windows.Forms.Tools.DockingStyle.Bottom,150); When i click MakeModal, I am able to make the form as modal. But when I again dock the form to the docking manager using MakeDock menuitem, I am not getting the form displayed. Kindly let me know whether it is possible to dock that form again in the docking manager.

Administrator [Syncfusion]
Replied On September 6, 2005 07:45 AM

Sorry I have missed a line in the MakeModal menu item event handler, this.dockingManager.SetEnableDocking(form,false); form.TopLevel = true; form.Visible = false; form.ShowDialog();

Vijayanand S [Syncfusion]
Replied On September 8, 2005 05:06 AM

Hi Suresh, Please refer to this forum response: Docking form . Thanks Vijay

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.

;