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

Problem with Splash Panel

Dear All,

1. Pls advise why is SplashPanel2.SuspendAutoCloseMode() didn't work out. The splashpanel keep closing at the time interval specified? what's wrong on its setting?

2. If we call: SplashPanel.HideSplash, why is the splashpanel_SplashClosing event didn't run?
I wish to validate user input in the textbox on splash panel in SplashClosing event, if it's wrong then I set e.cancel=True

Thank You,
Harry


2 Replies

AD Administrator Syncfusion Team April 3, 2008 01:04 AM UTC

Hi Harry ,

1. If your intentions is to suspend the closing of splash panel after a specific time interval, then please use the following code snippet.

Point pt = new Point(this.Location.X + this.Width-220, this.Location.Y-200 + this.Height);
splashPanel1.Size = new Size(208, 190);
splashPanel1.ShowSplash(pt, this, false);

Please refer to the attached sample that demonstrates this completely.

http://websamples.syncfusion.com/samples/Tools.Windows/F72366/main.htm

2. The SplashClosing event gets fired when the splash panel closes automatically after the animation delay. It will not fire when calling HideSplash() method. You can cancel the Splash Closing event if the textbox in the splash panel has the wrong value. Please refer to the attached sample.

http://websamples.syncfusion.com/samples/Tools.Windows/72366_April2/main.htm

In this sample when the textbox text is "TextBox" then it cancels the Splash Closing event.

Please let me know if this helps.

Regards,
Nagaraj






HA harisan April 19, 2008 02:16 AM UTC

Hello Nagarajan,

Thank you for your advise.

Regards,
Harry


Loader.
Live Chat Icon For mobile
Up arrow icon