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.

SplashPanel label is not seen.

Thread ID:

Created:

Updated:

Platform:

Replies:

24927 Feb 14,2005 01:30 PM Aug 12,2005 10:14 AM Windows Forms 9
loading
Tags: Tools
Peter
Asked On February 14, 2005 01:30 PM

I want to have a splashpanel pop up when a new process has started loading. The panel appears appropriately, but the text labels I have placed on it are not there - they appear to have been cut out of the panel, so that the underlying form continues to appear though the label rectangles. Comparing to the sample code properties, I don''t see any differences in the panel implementation. Suggestions, please?

Peter
Replied On February 14, 2005 02:43 PM

Appears that calling Application.DoEvents() right after calling .ShowSplash() will cause the text to display properly.

Administrator [Syncfusion]
Replied On February 14, 2005 02:51 PM

Hi Peter, Are you showing the SplashPanel non-modally? If not, doing so should solve this. Regards, Gregory Austin

Administrator [Syncfusion]
Replied On February 14, 2005 02:53 PM

Hi Peter, Please ignore my last post. I didn''t see your response. Regards, Gregory Austin Syncfusion, Inc.

Julien Goldberg
Replied On May 19, 2005 07:17 AM

hi. I have the same problem than Peter. Showing the popup modaly or not doesn''t change anything. Same with Application.DoEvents() right after the ShowSplash call. In fact if i click on a button to show a popup, the text in the popup is ok. But if i popup a message every seconds (due to a timer), the text doesn''t appear. Thank you for the help. Julien

Administrator [Syncfusion]
Replied On May 19, 2005 05:40 PM

Hi Julien, The only time I''ve been able to reproduce the blank text is when I''m showing the SplashPanel so rapidly that there isn''t enough time for it to finish rendering. Do you have a sample that demonstrates this problem? Alternatively, what version are you using, so that I can check it for the problem? Regards, Gregory Austin Syncfusion Inc.

Julien Goldberg
Replied On May 20, 2005 08:48 AM

Hi! I ve tested the splashpanel in a small new project. It works fine. But in the application i''m developping, i ve still this bug (it''s difficult to send you a part of the code). If i launch a splashpanel from clicking a button, it''s ok, even if i click very fast. But if i launch a splahpanel from a timer, even if the interval is 5 seconds, i have the bug. So, i''m not sure that is a problem of speed. Thx

Administrator [Syncfusion]
Replied On August 8, 2005 10:24 AM

I have run into the same problem with a client''s application. I noticed the problem occasionally when I was developing the app. After further testing, it seems that the problem lies with calling the .ShowSplash method from a thread other than the main thread. If you are using a System.Windows.Forms.Timer (which you get when dragging from the toolbox), everything seems OK since the Tick event runs in the same thread as the form that hosts the SplashPanel. If you are calling from another thread or using a System.Timers.Timer object (which uses another thread), then you need to use the form''s .Invoke method as below. I tried calling Application.DoEvents and SplashPanel.Refresh, but both of these seem to cause strange painting artifacts when the panel is animating. I think it''s because the calls to DoEvents / Refresh run during the animation instead of after it. Anyway, here''s what works for me. To use this code, just declare the delegate and call the ShowSplash sub from somewhere in your code. The sub figures out if it needs to use invoke. Maybe something like this could be incorporated by SyncFusion into the source code for the SplashPanel''s .ShowSplash method since it is very likely that people will want to pop up the panel from another thread.
Private Delegate Sub ShowSplashDelegate()

Private Sub ShowSplash()
	If Me.InvokeRequired Then
		Me.Invoke(New ShowSplashDelegate(AddressOf ShowSplash))
		Return
	End If
	
	SplashPanel1.ShowSplash()
End Sub
Form1_4285.zip

Anupama Roy [Syncfusion]
Replied On August 11, 2005 11:16 AM

Hi Scott, We are able to reproduce this problem.I will go ahead and submit a bug report on this and we will be including this into the source at the earliest.Thanks for your valuable suggestion. We really appreciate for your interest in Syncfusion products. Best Regards, Anupama.

Anupama Roy [Syncfusion]
Replied On August 12, 2005 10:14 AM

Hi Scott, You can track the status of the issue through this link. defect#599 Thanks, Anupama.

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.

;