API:FMX.StdActns.TValueRange.RelativeValue

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property RelativeValue: Double read FRelativeValue write SetRelativeValue stored False;

C++

__property RelativeValue;

Properties

Type Visibility Source Unit Parent
property published
FMX.StdActns.pas
FMX.StdActns.hpp
FMX.StdActns TValueRange

Description

The Value-based position of the thumb in the scrollable control.

FMX.StdActns.TValueRange.RelativeValue inherits from FMX.StdActns.TCustomValueRange.RelativeValue. All content below this line refers to FMX.StdActns.TCustomValueRange.RelativeValue.

The Value-based position of the thumb in the scrollable control.

The RelativeValue property is calculated relatively to Value, according to the following expression:

RelativeValue = (Value-Min)/(Max-Min-ViewportSize)

It can be in the range from 0 through 1. It can be used for positioning a thumb in a scrollable control, whose parameters are defined by the ValueRange properties (Value, Min, Max, ViewportSize, and Frequency).

See Also