 |
|
 |
My first ever msg in this forum has got to be dedicated to u man...
Thanks very much for the effort !!
Cheers ~
|
|
|
|
 |
|
 |
Thanks a lot for your kind of comments
If you want an updated version you can download the FileHelpers (inside the zip there is the new version), I have no time to upload the new version yet.
FileHelpers[^]
Cheers
|
|
|
|
 |
|
 |
Dont want to spam this messageboard.. but damn! great work man!
|
|
|
|
 |
|
 |
Not is spam. Is great feedback for the people that work in the open source world these comments are the most important part of our work.
For the lastest version you can download the dll that comes with the FileHelpers I don't upload it here yet because I don't have time to update the article =(
Filhelpers Article[^]
Feel free to use the control everywhere.
Best Regards
Marcos
|
|
|
|
 |
|
|
 |
|
 |
I find out that the text color will not change when the progressbar run.
For example, the background is white, and the text color is black, the color of progress bar is blue, when the progress bar run to overlop the text, I think the text color should be changed to white or other color which you set in properties. At least, I think, this function is needed.
I don't know if you can catch what I said.
Thanks a lot.
BTW: The progres bar is wonderful.
|
|
|
|
 |
|
 |
Yes you are right when the bar is under the text this is not clear to change it at run time you can use the property ColorText
I use this name to keep together the Color Properties in the next version maybe I allow to use boot.
Cheers thanks for the comments
Marcos
------------
My Articles[^]
|
|
|
|
 |
|
 |
This is by far the best progress bar I have seen. I plan on using it an RSS Aggregator I've written.
Thanks again.
|
|
|
|
 |
|
 |
Thanks for your comments !!!
At the end of the next week I´ll release a new version with some new features.
Regards
------------
Take a look to my Articles[^]
|
|
|
|
 |
|
 |
This might sound a bit strange but how would i change the start position of the progress bar?
So it would render like this: [ |||||| ] go from 40% to 80%
Thanks for any help,
-- Cyonix
|
|
|
|
 |
|
 |
Hi Jonathan.
A bit later but I´m here, at the end of this week I release a new version of the progress bar and will try to add this feature.
cheers
------------
Take a look to my Articles[^]
|
|
|
|
 |
|
 |
Great, thank you very much
-- Cyonix
|
|
|
|
 |
|
 |
Great control you have there!
I would like to use it as a trackBar - so clicking into the progressBar should change it's "Position" property. I can't find a way to do this right now - perhaps, you (or someone) can help me?
Any hint would be apprechiated,
Florian
|
|
|
|
 |
|
 |
OK, I found a solution myself. I have to add, that I'm new to customising controls, so there might be a better solution...
private bool mMouseDown = false;
protected override void OnMouseDown(MouseEventArgs e)
{
this.mMouseDown = true;
this.Position = (int)((double)this.PositionMax * ((double)e.X / (double)this.Width));
base.OnMouseDown (e);
}
protected override void OnMouseUp(MouseEventArgs e)
{
this.mMouseDown = false;
base.OnMouseUp (e);
}
protected override void OnMouseMove(MouseEventArgs e)
{
if(mMouseDown)
{
this.Position = (int)((double)this.PositionMax * ((double)e.X/(double)this.Width));
}
base.OnMouseMove (e);
}
Greetings,
Florian
|
|
|
|
 |
|
 |
Nice work, exactly what I was looking for. Replaced the standard progress control I was using in minutes!
Thanks.
Mark.
|
|
|
|
 |
|
 |
I'm trying to do the same thing. These are great looking progress bars. But how do I drag them on the form? In other words, how do I select the Prog1 control and use it in other C# apps?
Greg
|
|
|
|
 |
|
 |
Thanks to sparky909 and you for the comments !!
You need to add the control to the toolbox, for this:
- Open the toolbox
- Right click on it.
- Choose add/remove elements
- Browse for the Framework.Controls.ProgressBar.dll
- Select the XpProgressBar control and walla !!!
Cheers !!
|
|
|
|
 |
|
 |
Thanks, Marcos. Works Great! I'll only use your progressbar controls.
Greg
|
|
|
|
 |
|
 |
Wonderful control, thanks a lot I'll use it everywhere now
|
|
|
|
 |
|
 |
... for the motivation !!!
|
|
|
|
 |
|
 |
In the history it says 2.0 added "Vertical ProgressBar." Is this just the gradient specifier? I can't find a vertical property. Vertical progress bars seem to be rare without writing them from scratch.
Please advise on the vertical feature.
Thanks
J
|
|
|
|
 |
|
 |
The 1.5 and 2.0 items not are the history are only the RoadMap...The current version is 1.0
The editors trim this part, I'm working in the next version, maybe at the begining of the next year will be ready.
Thanks, sorry for the confusion .
Marcos
|
|
|
|
 |
|
 |
Yes I need too a Vertical Progress bar...
waiting for it !!!
Thanks
|
|
|
|
 |
|
 |
Application.DoEvents causes events in the event-queue to be fired.
Read that again. I did not say it fires only queued UI events. Any events that are queued are fired.
This can cause code re-entrant related, and other strange problems to arise when you least expect them. Quick example: You're code is happily spinning, chewing up CPU, and the user clicks the "Close" button -- what happens when you call Applicaiton.DoEvents? It certainly isn't gracefull, that's for sure. After the 'close' code runs, you're progress-bar code tries to continue running. I won't go into details as the evils of Application.DoEvents are discussed at length elsewhere. Here's a few to check out:
http://blogs.msdn.com/jfoscoding/archive/2005/08/06/448560.aspx[^]
http://www.codinghorror.com/blog/archives/000370.html[^]
http://ramblings.aaronballman.com/?p=196[^]
If you're method is hammering the CPU, and preventing your UI from updating in a timely manner, you should look into splitting that heavy method off onto a non-UI thread. The easiest way to do this, in .NET 2.0, is the BackgroundWorker. It's multithreading without all the work.
http://msdn2.microsoft.com/en-us/library/4852et58.aspx[^]
http://msdn.microsoft.com/msdnmag/issues/05/03/AdvancedBasics/[^]
Heck, there's even a CP article that discusses it:
http://www.codeproject.com/csharp/backgroundworker.asp[^]
I feel rather strongly about this because I have handled non-trivial DoEvent re-entrant related problems in the past, and they are no fun. Do it right the first time, and you'll never regret it.
...Anyway...just my $0.03.
|
|
|
|
 |
|
 |
I'll check this info, it seems to be interesting, but I've been using DoEvents in all my Apps and I never had problems with it.
If it is well used, maybe the problems will not arise.
At the end not everybody want to write a multithread app to correct the painting of the progress bar, but I'll try your solutions to see the differences.
This is an extract of the article that you referenced above
The best example of DoEvents is in the updating of the Progress Bar while loading a large file. Using a DoEvents every 1000 bytes or so gives a nice crisp response on the progress bar and is far easier to implement than a threaded solution.
Thanks a lot !!!
Greetings from Argentina
|
|
|
|
 |