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

SplahPanel in a background thread

Thread ID:

Created:

Updated:

Platform:

Replies:

36571 Nov 2,2005 06:52 PM UTC Nov 3,2005 11:30 AM UTC Windows Forms 1
loading
Tags: Tools
Jose Egea
Asked On November 2, 2005 06:52 PM UTC

Hello: I''m having problems launching an splahpanel from a background thread that is checking for messages. My main form have an splahpanel and starts a background thread when it''s loaded. In this thread I launch a RunLoop method of another class. In this class I have a reference to the main form to call the ShowSplah method when I have received messages. But when I have messages and call to the ShowPanel it doesn''t appear. What''s wrong? How can I do that? Best regards.

Anupama Roy [Syncfusion]
Replied On November 3, 2005 11:30 AM UTC

Hi Jose, The problem lies with calling the ShowSplash method from a thread other than the main thread. This is a known issue Defect #599 that has been solved internally . As a workaround, declare the delegate and call ShowSplash() anywhere in your code. The following code snippet illustrates this. private delegate void ShowSplashDelegate(); private void ShowSplash() { if (this.InvokeRequired) { this.Invoke(new ShowSplashDelegate(ShowSplash)); return; } SplashPanel1.ShowSplash(); } Hope this helps you and please create a Direct Trac incident if you would like to receive a private build that contains the fix, for testing purpose. Thanks for your interest in Syncfusion products. Regards, 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

;