API:FMX.ScrollBox.Style.TScrollCalculations

From RAD Studio API Documentation
Jump to: navigation, search

FMX.InertialMovement.TAniCalculationsSystem.Classes.TPersistentSystem.TObjectTScrollCalculations

Delphi

TScrollCalculations = class(TAniCalculations)

C++

class PASCALIMPLEMENTATION TScrollCalculations : public Fmx::Inertialmovement::TAniCalculations

Properties

Type Visibility Source Unit Parent
class public
FMX.ScrollBox.Style.pas
FMX.ScrollBox.Style.hpp
FMX.ScrollBox.Style FMX.ScrollBox.Style

Description

Provides support for the inertial scrolling of the viewport window within the larger content. Scrolling can be managed with the mouse or finger.

FMX.ScrollBox.Style.TScrollCalculations inherits from FMX.InertialMovement.TAniCalculations. All content below this line refers to FMX.InertialMovement.TAniCalculations.

Provides support for the inertial scrolling of the viewport window within the larger content. Scrolling can be managed with the mouse or finger.

TAniCalculations provides support for displaying content that is larger than the size of the viewport window. TAniCalculations enables the user to scroll the origin of the viewport window within the content view using the mouse or finger. The user, using the mouse or finger, can initialize scrolling and define moving parameters, then the viewport window can move inertially providing animation of scrolling.

Using Enabled you can enable or disable the animation of the inertial scrolling of the viewport window. By default, the viewport window "bounces" back when scrolling exceeds the bounds of the content. You can define the velocity of this "bouncing" using Elasticity.

See Also