Skip to main content
Email Password   helpLost your password?

Advanced Progressbar sample

Advanced Progressbar sample

Introduction

This article explains an extended progress bar with support for shape based progress bars and 3D colors.

Background

The first version only included a basic rectangle progress bar with "3D" abilities and percent display. I decided to add a dynamic shape function so it could be used with any shape (you can add more shapes in the CreateRegion function).

Using the code

Just place it on the form and have a look at the properties:

Other stuff you should have a look at are: BorderSize, BorderDisplay, and PercentDisplay.

Points of Interest

Good progress bars are easy to find today, but I wrote this one because I didn't find one that I liked that supported percents display, and the rest is history.

History

The first version only included a simple rectangle progress bar and was written very specifically for rectangle. Later, I wanted to add one more style, and I decided to write it dynamically for any shape. This is an updated version fixed for .NET 2.0.

You must Sign In to use this message board.
 
 
Per page   
 FirstPrevNext
GeneralProgressbar shape trapezium Pin
NRG56
0:25 9 Apr '07  
GeneralRe: Progressbar shape trapezium Pin
Gil.Schmidt
12:45 10 Apr '07  
GeneralProblem with Whidbey: percent text is not centralized Pin
hungpvtn
0:47 15 Jan '06  
GeneralRe: Problem with Whidbey: percent text is not centralized Pin
Gil_Schmidt
1:11 15 Jan '06  
GeneralUse in VB .NET Pin
kenexcelon
18:15 27 Aug '05  
GeneralRe: Use in VB .NET Pin
kenexcelon
18:16 27 Aug '05  
GeneralRe: Use in VB .NET Pin
Gil_Schmidt
1:50 28 Aug '05  
GeneralRe: Use in VB .NET Pin
kenexcelon
6:18 28 Aug '05  
GeneralRe: Use in VB .NET Pin
Gil_Schmidt
11:22 28 Aug '05  
GeneralRe: Use in VB .NET Pin
kenexcelon
11:49 28 Aug '05  
GeneralRe: Use in VB .NET Pin
kenexcelon
19:06 29 Aug '05  
GeneralRe: Use in VB .NET Pin
Gil_Schmidt
22:46 29 Aug '05  
GeneralRe: Use in VB .NET Pin
kenexcelon
11:48 30 Aug '05  
GeneralRe: Use in VB .NET Pin
Gil_Schmidt
12:36 30 Aug '05  
Generalhow to use in VB.NET??? Pin
aminir
21:21 25 Aug '05  
GeneralRe: how to use in VB.NET??? Pin
Gil_Schmidt
23:16 25 Aug '05  
GeneralRe: how to use in VB.NET??? Pin
aminir
3:52 26 Aug '05  
GeneralRe: how to use in VB.NET??? Pin
Gil_Schmidt
6:58 26 Aug '05  
GeneralRe: how to use in VB.NET??? Pin
The_Mega_ZZTer
11:48 24 Jan '06  
Generalcannot download the source code Pin
Bnaya Eshet
22:48 20 Jul '05  
GeneralWould you take a look? Pin
eRRaTuM
5:25 30 May '05  
GeneralSmoothing Mode Pin
romias
1:50 9 Feb '05  
GeneralRe: Smoothing Mode Pin
Gil_Schmidt
3:37 9 Feb '05  


Last Updated 24 Jan 2006 | Advertise | Privacy | Terms of Use | Copyright © CodeProject, 1999-2009