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. Image for the cookie policy date
close icon

How to create a splash screen lasting from as early as possible to the UI readiness?

It is not clear from the documentation and samples how to tackle the subject. How to do it? Grateful in advance, Alexey

6 Replies

DJ Davis Jebaraj Syncfusion Team July 22, 2003 03:48 PM UTC

Hi Alexey, Could you please explain your requirements a bit. The SplashControl by default handles the Load event of the main form and displays itself. Based on the settings you select, the main form can be made invisible and the duration of the SplashControl can be varied. We can provide more specific instructions and samples if you elaborate on your requirements. Thanks, Davis


AD Administrator Syncfusion Team July 23, 2003 02:26 AM UTC

> Hi Alexey, > > Could you please explain your requirements a bit. The SplashControl by default handles the Load event of the main form and displays itself. Dear Davis, This Load event appears to happen a bit late. My objective is to show something between the user's starting the application and the moment the application gets ready. As it is, the splash appears way after the user starts the application and scarcely before the main form appears (I tried both splash control and splash panel). To make things more clear, I can tell that the application start routine includes firing some SelectedIndexChanged events from listboxes placed on the main form, and loading some data sets inside those events. BTW, I tried an experimental application stripped of everything, and even then the splash did not seem to pop before the main form. Best regards, Alexey


AD Administrator Syncfusion Team July 23, 2003 06:09 PM UTC

I use a method similar to the one outlined in this article and haven't had any problems. http://www.codeproject.com/csharp/apploadingarticle.asp


DJ Davis Jebaraj Syncfusion Team July 29, 2003 04:30 AM UTC

Hi Alexey, The SplashControl supports hiding the MainForm till the form is ready to be displayed. Please see this sample and check if it meets your requirement. http://www.syncfusion.com/support/user/uploads/SplashControlHideMainForm.zip Thank you for your patience. Regards, Davis


AH Anthony H August 31, 2003 09:12 PM UTC

Hi, Davis -- No offense, Davis, but the application you referred to appears to be a bit of a mess: http://www.syncfusion.com/support/user/uploads/SplashControlHideMainForm.zip There are all sorts of unnecessary methods in it, buttons & panels that don't display, and absolutely no comments instructing your customer (like me!) how to implement the SplashControl for this purpose. Our project also requires the splash screen to show only as long as necessary for the MainWindow to fully launch (i.e., read the app prefs, assemble the UI, etc.). As everyone's machines are different, it might be 3 sec. on one person's, but 8 sec. on another person's machine. So we're keenly interested in learning how to apply the SplashControl for this purpose! Could someone make an easy-to-follow model of how to use the SplashControl for this purpose? Thanks! Anthony


DJ Davis Jebaraj Syncfusion Team September 5, 2003 04:31 PM UTC

Hi Anthony, Sorry that the sample wasn't clear. This was partically because I had demonstrated 2 techniques for displaying a Splash Screen indefinitely in the same sample. I have now split it into 2 samples and added comments. SplashControlHideMainForm: http://www.syncfusion.com/support/user/uploads/SplashControlHideMainForm_CS.zip SplashControlLoginForm: http://www.syncfusion.com/support/user/uploads/SplashControlLoginForm_CS.zip Thank you for your patience. Regards, Davis

Loader.
Live Chat Icon For mobile
Up arrow icon