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.
Syncfusion Feedback

Dock

Thread ID:

Created:

Updated:

Platform:

Replies:

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

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

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 09:06 AM UTC

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.

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

;