Skip to main content

TdxCustomRangeTrackBarProperties.CalculateRangeByEditValue(Variant,Integer,Integer) Method

Calculates the range based on a specified edit value.

Declaration

procedure CalculateRangeByEditValue(AValue: Variant; out AMin: Integer; out AMax: Integer); overload;

Parameters

Name Type
AValue Variant
AMin Integer
AMax Integer

Remarks

This method is called internally to initialize the range track bar editor’s Range.Min and Range.Max properties based on the edit value. The edit value is passed as the AValue parameter. The calculated lower and upper bounds of the range are returned as the AMin and AMax parameters.

See Also