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

ProgressBarAdv ProgressStyle: WaitingGradient

Hi,
VS2005 & V4.4.0.51

I try to display a wait form for a long process by using ProgressBarAdv(ProgressStyle:WaitingGradient ). Please see my attached sample.
Clisk button "Display Wait Form (WaitingGradient is moving)", you can see the WaitingGradient bar is moving, it is good.
But click the button "Display Wait Form for Long Process (WaitingGradient is not moving)", you can see the label message is changing, but the the WaitingGradient bar is not moving.
How can I make it moving?

Thanks,

Lan


CS62.zip

1 Reply

JA JayaLakshmi Syncfusion Team May 30, 2007 11:18 AM UTC

Hi Lan,

Thanks for your interest in Syncfusion products.

The method Thread.Sleep() causes the process to suspend for a specified time. So the waiting gradient of ProgressBarAdv starts moving only after a thread resumes.

This behavior is also common with .Net ProgressBar control.

Kindly refer the modified sample in the below link:

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

Please let me know if you have any other questions.

Regards,
Jaya

Loader.
Live Chat Icon For mobile
Up arrow icon