PC Review


Reply
Thread Tools Rate Thread

Changing the progressbar style

 
 
Mitchell Vincent
Guest
Posts: n/a
 
      17th Nov 2004
In other programming languages I've been able to easily change the style
of a progress bar between smooth and blocked. I find that is either
really hidden or impossible in .NET. Am I missing something?

I'm shocked that .NET doesn't have a style property for the progressbar
control!

--
- Mitchell Vincent
- kBilling - An easy and affordable billing solution
- http://www.k-billing.com
 
Reply With Quote
 
 
 
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      17th Nov 2004
"Mitchell Vincent" <(E-Mail Removed)> schrieb:
> In other programming languages I've been able to easily change the style
> of a progress bar between smooth and blocked. I find that is either really
> hidden or impossible in .NET. Am I missing something?


You can reimplement the ProgressBar control and specify 'PBS_SMOOTH'
('ProgressBar' is 'sealed', so you cannot extend it).

- or -

Microsoft's "recommendation":

HOW TO: Create a Smooth ProgressBar in Visual Basic .NET
<URL:http://support.microsoft.com/?scid=kb;en-us;323088>

> I'm shocked that .NET doesn't have a style property for the progressbar
> control!


I agree.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

 
Reply With Quote
 
steve
Guest
Posts: n/a
 
      17th Nov 2004
i'll shoot you source code for this if you want. it's not hard to create at
all.


 
Reply With Quote
 
Mal
Guest
Posts: n/a
 
      10th Dec 2004
Here is a link to a code sample for a sweet progressbar, that fills
smoothly with gradient colors:
http://www.trackslinger.com/codelibrary/

Enjoy...

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Marquee Style ProgressBar JB Microsoft VB .NET 6 4th Jun 2008 12:37 PM
changing properties of progressbar rkbnair Microsoft Dot NET Framework Forms 6 25th Jan 2008 09:21 AM
HELP: ProgressBar control "Style" not working =?Utf-8?B?bWFnZWxsYW4=?= Microsoft VB .NET 0 1st Jun 2007 01:25 AM
Changing ProgressBar in a seperate Thread =?ISO-8859-15?Q?Martin_P=F6pping?= Microsoft C# .NET 3 20th Nov 2006 10:29 PM
Application quit when i set ProgressBar.Minimum and ProgressBar.Maximum with the same value Cheetah Microsoft Dot NET Compact Framework 17 29th Sep 2004 05:39 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:12 AM.