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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback


Thread ID:





47021 Jul 26,2006 05:56 PM UTC Aug 11,2006 11:03 AM UTC WinForms 5
Tags: Tools
Administrator [Syncfusion]
Asked On July 26, 2006 05:56 PM UTC


Is it possible to change the ProgressBarAdv.ProgressStyle property dynamically ?? I am not able to do that. Any pointers on this would be appreciated


Anupama Roy [Syncfusion]
Replied On July 26, 2006 07:16 PM UTC

Hi Sagittarian,

You can handle the progressBarAdv1_ValueChanged event inorder to change the ProgressStyle dynamically.

Please take a look at the sample attached and let me know if you need furthur assistance.

Thank you for choosing Syncfusion products.




Administrator [Syncfusion]
Replied On July 26, 2006 07:38 PM UTC

Hi Anupama,

Thanks a lot. But that dint help much :(

We are having an options dialog which aims at allowing the user to change the Progress Style. If he changes the style say from gradient to tube in the Options dialog, it should change the progressBarAdv1.ProgressStyle. Is ProgressBarAdv1_ValueChanged the only way to get access to the property ProgressStyle ??

Anupama Roy [Syncfusion]
Replied On July 27, 2006 07:20 PM UTC

Hi Sagittarian,

You can overcome this problem by doing certain changes in the accessibility of ProgressBarAdv.

Consider you have Form1 and Form2.Form1 contains ProgressBarAdv and Form2 is made as the OptionDialog.

First, declare an object at the top of your form,the form you want to access data from:

public static Form1 frm1Object;
public static Form2 frm2Object;

And then in the void main on the same form, make new objects and pass in the frm1Object:

static void Main()
frm1Object = new Form1();
frm2Object = new Form2();


Now, if you want to access ProgressBarAdv from Form2(Options Dialog), then make ProgressBarAdv public static on Form1.

public static Syncfusion.Windows.Forms.Tools.ProgressBarAdv progressBarAdv1;

And to do something on ProgressBarAdv from OptionsDialog,do as follows.

Form1.progressBarAdv1.ProgressStyle =Syncfusion.Windows.Forms.Tools.ProgressBarStyles.Tube ;

Please take a look at the sample atached for your reference.




Replied On August 10, 2006 09:00 AM UTC

Give me an alternate solution.This is totally waste.Its not working in 2005 RTM

Administrator [Syncfusion]
Replied On August 11, 2006 11:03 AM UTC

Hi Kelvin,
I had implemented the same task in 2005 RTM but, I did not find any problem. Please look at the attached sample that has been implemented in 2005. Please let me know if you have any further queries regarding this.

Velmurugan E.



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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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