|
Posted by Maxwell on November 17, 2005
In Reply to: Progress bar posted by Craig on November 13, 2005
: I
have a test project that I am working on. It has a trackbar and a progress bar on the forum, I have the
following code for the trackbar
: Progressbar1.Position := Progressbar1.Position + 1
: My question is this as the track bar is going up it increase the progress bar can the trackbar be set
so when it is decreased the progressbar will decrease as well?
Sorry, but I don't see where the problem is... For increasing the progress bar, you use:
Progressbar1.Position := Progressbar1.Position + 1
Why don't you use the following to decrease it? Progressbar1.Position := Progressbar1.Position - 1
Related Articles and Replies
Delphi Forum
|