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.

Splash panel - restore docking

Thread ID:

Created:

Updated:

Platform:

Replies:

107152 Feb 15,2013 07:12 PM Feb 20,2013 07:21 AM Windows Forms 2
loading
Tags: Tools
Andy Grau
Asked On February 15, 2013 07:12 PM

Hello all,

I wanted to use Splash Panel as a draggable component outside the Windows Form. This is what I tried:

1. Placed a Splash Panel inside a Tab Page and set it visible and draggable. So far so good, it stays inside a page.

2. Initialized the panel as Me.SplashPanel2.ShowSplash(). Everything is fine, it pops-up outside the form and fully draggable.

3. Then I wanted to close it and place back to its dock page. If I close it as Me.SplashPanel2.HideSplash(), it disappears as an outer panel, but doesn't move back to the page. 

My question: how can I close a splash panel that was previously activated by ShowSplash and position it back to its original position at the docking container?

Thanks!

Andy Grau
Replied On February 16, 2013 12:34 AM

Actually, I resolved the issue. When a splash panel is opened by Me.SplashPanel2.ShowSplash(), it is removed from controls of the parent docking controls. To get it back, I simply added it to the docking control at the original location - something like

            Me.TabPageAdv.Controls.Add(Me.SplashPanel2)
            Me.SplashPanel2.Location = New System.Drawing.Point(32, 39)

The only problem here is that if the splash panel is added to the docking control and splash is visible, it shows two identical panels - one docked to the parent control and one "frozen" outside the form.

Chandran R [Syncfusion]
Replied On February 20, 2013 07:21 AM

Hi Andy,

Thank you for your interest in Syncfusion products.

For the existence of two splash panels, you could hide the splash panel added to the docking manager, when the other panel is being shown outside the page the and make it visible when HideSplash is called. I suggest to handle the visibility the panel added by you in the docking manager.

Please let me know if this helps

Regards,

Chandran R

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.

;