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

SplashControl, CustomSplashPanel

Thread ID:

Created:

Updated:

Platform:

Replies:

42205 Mar 22,2006 02:11 PM UTC Oct 5,2006 05:42 PM UTC Windows Forms 6
loading
Tags: Tools
ralph_lachance
Asked On March 22, 2006 02:11 PM UTC

I wonder if I''m missing something. The examples you show of using a custom SplashPanel in a SplashControl all have an instance of the custom SplashPanel on the host form, and in all cases the custom panel is visible on the host form. Well, I don''t want the splash panel visible on the form. Now I haven''t tried this: but I imagine if I set the splashpanel invisible, it won''t show up on the splash control either, and if I set its .Location "off screen" it also wouldn''t show up on the splashcontrol. In my case, my main form has a single control which is set to Dock=Fill, so I suppose I can use SplashPanel.SendToBack() to hide it, but I wondering what your intent is in the general case where it is undireable to show the splashpanel on the hosting form.

ralph_lachance
Replied On March 22, 2006 02:27 PM UTC

sorry, I seem to have posted this to the wrong forum, Can you move it to Winform.tools ?

Anupama Roy [Syncfusion]
Replied On March 23, 2006 01:45 PM UTC

Hi Ralph, Please follow these steps when you use a CustomSplashPanel within a splashControl. 1.] Drag and drop a splash control . 2.] Set the CustomSplashPanel property of splashcontrol to your splashpanel. this.splashControl1.UseCustomSplashPanel = true; this.splashControl1.CustomSplashPanel = this.splashPanel1; 3.] Depending upon the scenario where you need to display the Splash,you can add the below given code. this.splashControl1.ShowSplash (false); With the above mentioned steps,I hope your query of Splash displayed on the Host Form is answered. Please take a look at the sample attached and let us know if you need furthur assistance. Sample Thank you for choosing Syncfusion. Regards, Anu.

Administrator [Syncfusion]
Replied On April 2, 2006 02:30 PM UTC

Thank you for answering. Please reread the original question... Your sample, just like all the samples I mentioned in my original post, includes a copy of the splash panel *on* the application form. Think about this: How often does an application include its splash form on its main frame. Making the splash form .Visible = false does work, of course, but...

Anupama Roy [Syncfusion]
Replied On April 4, 2006 02:03 PM UTC

Hi Ralph, It is dependent on TimerInterval that you set for Splash in your application. Thanks, Anu.

Andrew Skalkin
Replied On October 4, 2006 07:05 PM UTC

I''m experiencing the same problem. We dynamically create instances of splash panels (we have something similar to Office Assistant in our application) and we have to do all kind of tricks to display splash panels.

Wouldn''t it be better if SplashPanel was a subclass of UserControl? That would allow designing it.

If it''s not possible, can there be some kind of a static method

public static void ShowSplash(Control c, SplashOptions options)

that would show the given control on a splash form?

Anupama Roy [Syncfusion]
Replied On October 5, 2006 05:42 PM UTC


Hi Andrew,

If Visibility of the splash on the form is a problem,I would recommend to go for SplashControl component which is not visible at run time and you can use ShowSplash method.If do not want to use a CustomSplashPanel,you can use the default splash itself and this.splashControl1.SplashControlPanel property inorder to access this splash and set the properties as you need.

Please let me know if you have any queries regarding this.

Thanks,

Anu.



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

;