FMX.ScrollBox.TCustomPresentedScrollBox.ScrollTo

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

procedure ScrollTo(const AX, AY: Single; const AAnimated: Boolean = True);

C++

void __fastcall ScrollTo(const float AX, const float AY, const bool AAnimated = true);

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
procedure
function
public
FMX.ScrollBox.pas
FMX.ScrollBox.hpp
FMX.ScrollBox TCustomPresentedScrollBox


Beschreibung

Ändert die Bildlaufposition in den durch AX und AY festgelegten Wert.

ScrollTo berechnet anhand des Wertes der Eigenschaft ViewportPosition den Offset und ruft dann ScrollBy auf.

Siehe auch