FMX.Layouts.TScrollBox.ScrollTo
From RAD Studio API Documentation
Delphi
procedure ScrollTo(const Dx, Dy: Single);
C++
void __fastcall ScrollTo(const float Dx, const float Dy);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
procedure function |
public | FMX.Layouts.pas FMX.Layouts.hpp |
FMX.Layouts | TScrollBox |
Description
Scrolls to the given position (relative to the current position) in the TScrollBox control. The Dx and Dy parameters specify the new X and Y coordinates to scroll to, from the current coordinates given by the values of the vertical and horizontal scroll bars.
ScrollTo only has an effect if the scroll box actually has content beyond the display area and the scroll bars are needed to scroll to view all the content held by this scroll box.