Increment Progress Bar lazarus / 31-LCL ---------------------------------------------------------------------- James_Parsons · 2014-05-01 14:31 I have a form that needs to increment a progress bar when a button is clicked. I cant seem to find a value for the amount of progress done. How do I step the bar by it's default amount? ---------------------------------------------------------------------- taazz · 2014-05-01 14:41 depends what you define as default amount. The progressbar has 3 properties that define its default amount minvalue, maxvalue, position. In the default settings minvalue is 0 maxvalue is 100 and position is 0 to increase it one step you do something along the lines of Code: [Select]ProgressBar1.Position := ProgressBar1.Position + 1; and that is one percent on the bar if you want to make that 10 percent you can either set the maxvalue to 10 or add 10 to position every time you click the button instead of one. ---------------------------------------------------------------------- howardpc · 2014-05-01 16:18 In addition to the properties taazz mentions, TProgressBar also has an integer Step property which defaults to a value of 10. The Step value is what the public StepIt procedure uses. There is also a public StepBy(Delta: integer) method you can use.