FMX.Layouts.TCustomScrollBox.CreateAniCalculations
Delphi
function CreateAniCalculations: TScrollCalculations; virtual;
C++
virtual TScrollCalculations* __fastcall CreateAniCalculations();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | FMX.Layouts.pas FMX.Layouts.hpp |
FMX.Layouts | TCustomScrollBox |
Description
Constructs a TScrollCalculations type object in which you can set properties and calculate parameters of the inertial scrolling.
CreateAniCalculations calls the TScrollCalculations.Create constructor to create a TScrollCalculations object. The created object is kept in the AniCalculations property of the current TScrollBox instance. Using this TScrollCalculations object you can set the Animation, DecelerationRate, BoundsAnimation, AutoShowing, and Shown properties of inertial scrolling. TScrollCalculations is the descendant of the TAniCalculations class, which provides methods to calculate parameters of the inertial scrolling.
UpdateAniCalculations calls CreateAniCalculations to create a TScrollCalculations object and then calls DoUpdateAniCalculations to set the default inertial scrolling properties under the current platform.
See Also
- FMX.Layouts.TScrollCalculations.Create
- FMX.InertialMovement.TAniCalculations
- FMX.InertialMovement.TAniCalculations.Animation
- FMX.InertialMovement.TAniCalculations.DecelerationRate
- FMX.InertialMovement.TAniCalculations.BoundsAnimation
- FMX.InertialMovement.TAniCalculations.AutoShowing
- FMX.InertialMovement.TAniCalculations.Shown
- FMX.Layouts.TCustomScrollBox.UpdateAniCalculations
- FMX.Layouts.TCustomScrollBox.DoUpdateAniCalculations