Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Delphi 7 progress bar (easy answer) 1

Status
Not open for further replies.

ug505

Programmer
Jan 2, 2010
52
US
I have Delphi 7 (recommended by a friend) and new at it. The first thing I want to build is just a plain progress bar but it doesn't want to move at all. I added the progress bar from the system32 tab and a timer from the system tab, double clicked the timer and added the following code:
Code:
Progressbar1.Position := +1;
Then when I pressed Run it adds 1 bar but doesn't continue the rest. What did I do wrong?
 
Progressbar1.Position := Progressbar1.Position +1;

be sure to alse set your max and min properties.

Aaron
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top