Delphi and Kylix

Moderators: pritaeas
Number of threads: 7244
Number of posts: 19051

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
WinXP waiting progressbar Posted by jobromedia on 21 Dec 2005 at 4:36 PM
Hi again!

1. How can I modify a Progressbar so it acts like a progressbar where the estimated time isn't known?

2. How can I create small popup forms la Messenger style?
Report
Re: WinXP waiting progressbar Posted by zibadian on 21 Dec 2005 at 8:15 PM
: Hi again!
:
: 1. How can I modify a Progressbar so it acts like a progressbar where the estimated time isn't known?
:
: 2. How can I create small popup forms la Messenger style?
:
1. Increase the Max whenever it is necessary. For example: During a move/copy action the explorer increases the Max with the number of files in each directory as it starts with that directory.

2. Don't know.
Report
Re: WinXP waiting progressbar Posted by jobromedia on 22 Dec 2005 at 9:11 PM
This message was edited by jobromedia at 2005-12-22 21:16:25

: : Hi again!
: :
: : 1. How can I modify a Progressbar so it acts like a progressbar where the estimated time isn't known?
: :
: : 2. How can I create small popup forms la Messenger style?
: :
: 1. Increase the Max whenever it is necessary. For example: During a move/copy action the explorer increases the Max with the number of files in each directory as it starts with that directory.
:
: 2. Don't know.
:
Ah yes, that's one version. But as you see the progressbar's left side isn't emptied. Connect a USB hd to your system or load a cd with alot of files on it, as the cd's scanned the progressbar highlights some steps at the time, not from 1 through n%, but rather from say m% to n% ie. 5% - 10% at the time. That's what I want to do.

Here is a picture of it:

http://s40.yousendit.com/d.aspx?id=1BO8LM5T2GETY1QIUYWC6KHM9S


Report
Re: WinXP waiting progressbar Posted by zibadian on 22 Dec 2005 at 10:05 PM
: This message was edited by jobromedia at 2005-12-22 21:16:25

: : : Hi again!
: : :
: : : 1. How can I modify a Progressbar so it acts like a progressbar where the estimated time isn't known?
: : :
: : : 2. How can I create small popup forms la Messenger style?
: : :
: : 1. Increase the Max whenever it is necessary. For example: During a move/copy action the explorer increases the Max with the number of files in each directory as it starts with that directory.
: :
: : 2. Don't know.
: :
: Ah yes, that's one version. But as you see the progressbar's left side isn't emptied. Connect a USB hd to your system or load a cd with alot of files on it, as the cd's scanned the progressbar highlights some steps at the time, not from 1 through n%, but rather from say m% to n% ie. 5% - 10% at the time. That's what I want to do.
:
: Here is a picture of it:
:
: http://s40.yousendit.com/d.aspx?id=1BO8LM5T2GETY1QIUYWC6KHM9S
:
:
:
You can use the StepBy() method to indicate how much it should step. For even more control, you can also use the Position to change the position.
Report
Re: WinXP waiting progressbar Posted by netgert on 22 Dec 2005 at 11:47 PM
: : This message was edited by jobromedia at 2005-12-22 21:16:25

: : : : Hi again!
: : : :
: : : : 1. How can I modify a Progressbar so it acts like a progressbar where the estimated time isn't known?
: : : :
: : : : 2. How can I create small popup forms la Messenger style?
: : : :
: : : 1. Increase the Max whenever it is necessary. For example: During a move/copy action the explorer increases the Max with the number of files in each directory as it starts with that directory.
: : :
: : : 2. Don't know.
: : :
: : Ah yes, that's one version. But as you see the progressbar's left side isn't emptied. Connect a USB hd to your system or load a cd with alot of files on it, as the cd's scanned the progressbar highlights some steps at the time, not from 1 through n%, but rather from say m% to n% ie. 5% - 10% at the time. That's what I want to do.
: :
: : Here is a picture of it:
: :
: : http://s40.yousendit.com/d.aspx?id=1BO8LM5T2GETY1QIUYWC6KHM9S
: :
: :
: :
: You can use the StepBy() method to indicate how much it should step. For even more control, you can also use the Position to change the position.
:

StepBy() will inrease the value of the TProgressBar - the right side of the bar.. I have had problems with this myself, I used some other animation (in console apps the |/-\ character sequence is popular, to give an illusion a bar is rotating) - because, after all, this is just an animation to show the program hasn't hung yet :)

NetGert[/italic]


Report
Re: WinXP waiting progressbar Posted by jobromedia on 23 Dec 2005 at 1:57 AM
: : : This message was edited by jobromedia at 2005-12-22 21:16:25

: : : : : Hi again!
: : : : :
: : : : : 1. How can I modify a Progressbar so it acts like a progressbar where the estimated time isn't known?
: : : : :
: : : : : 2. How can I create small popup forms la Messenger style?
: : : : :
: : : : 1. Increase the Max whenever it is necessary. For example: During a move/copy action the explorer increases the Max with the number of files in each directory as it starts with that directory.
: : : :
: : : : 2. Don't know.
: : : :
: : : Ah yes, that's one version. But as you see the progressbar's left side isn't emptied. Connect a USB hd to your system or load a cd with alot of files on it, as the cd's scanned the progressbar highlights some steps at the time, not from 1 through n%, but rather from say m% to n% ie. 5% - 10% at the time. That's what I want to do.
: : :
: : : Here is a picture of it:
: : :
: : : http://s40.yousendit.com/d.aspx?id=1BO8LM5T2GETY1QIUYWC6KHM9S
: : :
: : :
: : :
: : You can use the StepBy() method to indicate how much it should step. For even more control, you can also use the Position to change the position.
: :
:
: StepBy() will inrease the value of the TProgressBar - the right side of the bar.. I have had problems with this myself, I used some other animation (in console apps the |/-\ character sequence is popular, to give an illusion a bar is rotating) - because, after all, this is just an animation to show the program hasn't hung yet :)
:
NetGert[/italic]

:
:
So you say it is an animation huh?

What name is it under? Can one use it with the TAnimator?
Report
Re: WinXP waiting progressbar Posted by zibadian on 23 Dec 2005 at 7:31 PM
: : : : This message was edited by jobromedia at 2005-12-22 21:16:25

: : : : : : Hi again!
: : : : : :
: : : : : : 1. How can I modify a Progressbar so it acts like a progressbar where the estimated time isn't known?
: : : : : :
: : : : : : 2. How can I create small popup forms la Messenger style?
: : : : : :
: : : : : 1. Increase the Max whenever it is necessary. For example: During a move/copy action the explorer increases the Max with the number of files in each directory as it starts with that directory.
: : : : :
: : : : : 2. Don't know.
: : : : :
: : : : Ah yes, that's one version. But as you see the progressbar's left side isn't emptied. Connect a USB hd to your system or load a cd with alot of files on it, as the cd's scanned the progressbar highlights some steps at the time, not from 1 through n%, but rather from say m% to n% ie. 5% - 10% at the time. That's what I want to do.
: : : :
: : : : Here is a picture of it:
: : : :
: : : : http://s40.yousendit.com/d.aspx?id=1BO8LM5T2GETY1QIUYWC6KHM9S
: : : :
: : : :
: : : :
: : : You can use the StepBy() method to indicate how much it should step. For even more control, you can also use the Position to change the position.
: : :
: :
: : StepBy() will inrease the value of the TProgressBar - the right side of the bar.. I have had problems with this myself, I used some other animation (in console apps the |/-\ character sequence is popular, to give an illusion a bar is rotating) - because, after all, this is just an animation to show the program hasn't hung yet :)
: :
NetGert[/italic]

: :
: :
: So you say it is an animation huh?
:
: What name is it under? Can one use it with the TAnimator?
:
You could use the TAnimate, but also the TMediaPlayer, TPaintBox, TImage, or an appropriate 3rd-party component.



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.