FMX.StdActns.TCustomValueRange.RelativeValue

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property RelativeValue: Double read FRelativeValue write SetRelativeValue stored False nodefault;

C++

__property double RelativeValue = {read=FRelativeValue, write=SetRelativeValue, stored=false};

Properties

Type Visibility Source Unit Parent
property public
FMX.StdActns.pas
FMX.StdActns.hpp
FMX.StdActns TCustomValueRange

Description

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