TdxBarProgressItem.SetParams(Integer,Integer) Method
Sets the initial parameters for a progress bar item.
Declaration
procedure SetParams(AMin: Integer; AMax: Integer);
Parameters
Name | Type |
---|---|
AMin | Integer |
AMax | Integer |
Remarks
Call the SetParams method to set a new range for a progress bar. The AMin parameter determines the initial value. The AMax parameter determines the maximum value. If the Position property value is greater than the AMax parameter, its value is set to the maximum value. If the Position property value is less than the AMin parameter, its value is set to the minimum value.
See Also