FMX.Layouts.TCustomScrollBox.AniCalculations

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

property AniCalculations: TScrollCalculations read FAniCalculations;

C++

__property TScrollCalculations* AniCalculations = {read=FAniCalculations};

Properties

Type Visibility Source Unit Parent
property public
FMX.Layouts.pas
FMX.Layouts.hpp
FMX.Layouts TCustomScrollBox

Description

Allows you to set various parameters that control the inertial scrolling effect animation.

AniCalculations keeps a TScrollCalculations object created by CreateAniCalculations. Using properties of this object you can programmatically set values for inertial scrolling properties in order to emulate on the current platform the inertial scrolling behavior typical for other platforms. For example, you can select the emulation of the iOS scrolling behavior under Windows and vice-versa. TScrollCalculations is the descendant of the TAniCalculations class, which provides methods to calculate parameters of the inertial scrolling.

By using AniCalculations you can set:

See Also