[Overview][Constants][Types][Classes][Procedures and functions][Index] | Reference for unit 'ComCtrls' (#lcl)

# TCustomProgressBar.StepIt

Increments the Position for the progress bar by the value in Step.

## Declaration

Source position: comctrls.pp line 1845

`public procedure TCustomProgressBar.StepIt;`

## Description

StepIt is a procedure used to move the progress bar indicator from its current Position using the increment specified in the Step property. The value is Step is added to the value in Position. Position is range limited to the values in Min or Max if needed.

If the Handle for the control has been allocated, the SetPosition method in the widgetset class is called to apply the change in the Position property.

Use StepBy to apply an arbitrary increment value to Position.

## See also

TCustomProgressBar.Step |  | Increment applied to the value in Position in the StepIt method.
TCustomProgressBar.StepBy |  | Applies an arbitrary increment value to the Position for the progress bar.
TCustomProgressBar.Position |  | The current position for the progress bar.