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.

Dockingmanager problem

Thread ID:

Created:

Updated:

Platform:

Replies:

1597 Nov 13,2002 12:53 PM Nov 14,2002 01:00 PM Windows Forms 3
loading
Tags: Tools
Atle Bjelland
Asked On November 13, 2002 12:53 PM

I've just upgraded the Essential Suite to version 1.5, and am suddenly getting problems with the docking manager. I am using it on an MDI parent form, and the problem is that the child forms are hidden under the docked panels. It seems like if the forms don't notice the docked panels. I want to have it like it was before, when it was impossible for a form to be placed under the docked panels. Are there any new properties that have to be set to avoid this, or is it maybe me that are doing it the wrong way? I'm using the DockControl method to dock the panels. Thanls in advance! Regards, Atle Bjelland

Prakash S [Syncfusion]
Replied On November 13, 2002 04:13 PM

Hi Atle, I just ran a few tests with the MDIDemo/VSDemo samples and they all appear to work normally. Please send us a sample that shows the problem. This will make it much simpler to proceed on this issue. Thanks, Prakash Syncfusion, Inc.

Atle Bjelland
Replied On November 13, 2002 11:30 PM

Here is a very simple example which demonstrates the problem. -Atle Bjelland

Prakash S [Syncfusion]
Replied On November 14, 2002 01:00 PM

Hi Atle, Thank you for sending the sample. I was able to reproduce the problem, and a QA report has been logged. We will fix the problem ASAP, and the fix should be available in the monthly fixes patch that should be going out around the 22nd of this month. A temporary workaround would be for you to use just the designer for setting up your docking layout or if this is not a viable option, then to just use a temporary docked control within the designer and remove this control before you call DockingManager.DockControl on the rest of the programmatically docked controls. The preferred method for initializing docking windows is from an event handler for the DockingManager.NewDockStateEndLoad event. Check out the following Essential Tools KB article - http://www.syncfusion.com/KB/Tools/Tools_c35c.asp#q564q. The code snippet shows an implementation for a NewDockStateEndLoad event handler with the above workaround in your sample, Private Sub DockingManager1_NewDockStateEndLoad(ByVal sender As Object, ByVal e As System.EventArgs) Handles DockingManager1.NewDockStateEndLoad ' Temporary docking window added within the designer can be removed if not needed Me.DockingManager1.SetEnableDocking(Me.ListBox2, False) ' Your custom initialization follows Dim Panel As New System.Windows.Forms.UserControl() With Me.DockingManager1 .DockControl(Panel, Me, Syncfusion.Windows.Forms.Tools.DockingStyle.Left, Panel.Width) End With End Sub Please let us know if you have any trouble with the implementation. Prakash 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.

;