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

Trouble with ProgressBarAdv when maximum property is a large number

Hi, I am using SyncFusion components (version in my Visual Studio 2003 Windows Forms application. When I drop a ProgressBarAdv control on my form and run the following code: ProgressBarAdv1.Maximum = 100000000 ProgressBarAdv1.Value = 80000000 instead of displaying %80, the ProgressBarAdv displays a -5%. No exception is thrown. I know these are large values, but I was assuming the maximum property would have allowed for all the way up to 2,147,483,647 (largest value for integer data type in .NET). Is this a bug or is the maximum value for the "maximum" property lower than I think it is. Any help would be really appreciated. Thanks.

1 Reply

AD Administrator Syncfusion Team March 10, 2005 04:37 PM UTC

Hi Alison, Due to some of ProgressBarAdv''s inner workings, ProgressBarAdv.Minimum and ProgressBarAdv.Maximum cannot have a difference greater than int.MaxValue/100. Regards, Gregory Austin Syncfusion Inc.

Live Chat Icon For mobile
Up arrow icon