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.

Problem with Splash Panel

Thread ID:

Created:

Updated:

Platform:

Replies:

72366 Mar 15,2008 09:56 AM Apr 18,2008 10:16 PM Windows Forms 2
loading
Tags: Tools
Harry
Asked On March 15, 2008 09:56 AM

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


Administrator [Syncfusion]
Replied On April 2, 2008 09:04 PM

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





harisan
Replied On April 18, 2008 10:16 PM

Hello Nagarajan,

Thank you for your advise.

Regards,
Harry


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.

;