Vcl.ComCtrls.TProgressBar.Step

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Step: Integer read FStep write SetStep default 10;

C++

__property int Step = {read=FStep, write=SetStep, default=10};

Properties

Type Visibility Source Unit Parent
property published
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TProgressBar

Description

Specifies the amount that Position increases when the StepIt method is called.

Set Step to specify the granularity of the progress bar. Step should reflect the size of each step in the process tracked by the progress bar, in the logical units used by the Max and Min properties.

When a progress bar is created, Min and Max represent percentages, where Min is 0 (0% complete) and Max is 100 (100% complete). If these values are not changed, Step is the percentage of the process completed before the user is provided with additional visual feedback.

When the StepIt method is called, the value of Position increases by Step.

See Also

Code Examples