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.

Dynamic docking

Thread ID:





42484 Mar 29,2006 12:03 PM Mar 29,2006 12:56 PM Windows Forms 1
Tags: Tools
Narendra Maharaj
Asked On March 29, 2006 12:03 PM

Can you show me an example of how to dynamically dock a form in a docking manager. I already have a set of dockable forms, but when I put them on the docking manager there is no splitter between them until I moe one then they all dock properly.

Vijayanand S [Syncfusion]
Replied On March 29, 2006 12:56 PM

Hi Narendra, I could not understand your requirement clearly. If you want to enable docking for form using docking manager, I assume that you have set form''s Toplevel property to false and FormBorderstyle to None. as shown below, this.f=new Form2(); this.f.TopLevel = false; this.f.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.dockingManager1.SetEnableDocking(this.f,true); Refer the following KB article: How to dock a form?. I am afraid I could not reproduce your mentioned problem. Could you please send me a sample which reproduces the issue? Regards, Vijay


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.