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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Text in ProgressBar

Thread ID:





14124 May 18,2004 09:56 PM UTC Nov 11,2005 07:26 PM UTC WinForms 9
Tags: Tools
Asked On May 18, 2004 09:56 PM UTC

Hi, I was hoping someone could tell me if it is possilbe to put some text on a ProgressBarAdv control instead of the percent complete. For example "Loading images..."

Administrator [Syncfusion]
Replied On May 19, 2004 10:50 AM UTC

Hi Richard, Yes, you could do so by following the directions given below : 1. Set the ProgressBarAdv''s TextStyle to Custom 2. Handle the ProgressBarAdv''s ValueChanged event and set e.Text = "your desired text" and e.Handled = true. Please refer to the sample_attached that demonstrates this. Thanks for considering Syncfusion products. Regards, Guru Patwal Syncfusion, Inc.

Replied On June 6, 2004 11:01 PM UTC

Thanks Guru, That works well, now how can I align the text, currently it appears that the start of the text starts from the center, so it runs off the right hand side.

Administrator [Syncfusion]
Replied On June 7, 2004 02:42 AM UTC

Hi Richard, I am afraid, presently the ProgressBarAdv does not have the ability to align the Text on it. However, we have could consider this as a feature request for a future release of Essential Suite. We appreciate your feedback, and thanks for choosing Syncfusion products. Regards, Guru Patwal Syncfusion, Inc.

Guru Patwal
Replied On June 9, 2004 04:31 PM UTC

Hi Richard, A TextAlignment property has been added to the ProgressbarAdv which would now allow you to align the Text. This feature is still internal, and would be available in the next release of Essential Suite (post v2.0.5.14 releases). Thanks for your interest in Syncfusion products. Regards, Guru Patwal Syncfusion, Inc.

Administrator [Syncfusion]
Replied On December 16, 2004 06:42 PM UTC

I am trying to do the same thing, would love to see the sample code but it seems to not be accessible. Thanks...

Administrator [Syncfusion]
Replied On December 24, 2004 12:11 PM UTC

Guru- Can you repost the sample code? It looks like it is not there anymore. Thank you.

Administrator [Syncfusion]
Replied On December 26, 2004 10:50 AM UTC

Hi, I have reattached the test sample here. Please refer to it and let me know if you need further assistance. We appreciate your interest in Syncfusion products. Regards, Guru Patwal Syncfusion, Inc.

Replied On October 12, 2005 05:38 PM UTC

I''m curious why it''s necessary to handle an event to set the text? Why can''t I just set the text when I set the value. Maybe an overloaded value of SetValue that takes a string as a second parameter. Obviously there are many ways of doing this. You might also want to look at how Infragistics handles this, they define some formatting variables, so you can say the text will be "Loading " + [constant that will be replaced with formatted text showing percentage or whatever]. Jim

Replied On November 11, 2005 07:26 PM UTC

Guess nobody had any comment on that.


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

Live Chat Icon For mobile
Live Chat Icon