Skip to main content
Table of Contents

TTMSFNCDataGridRenderer.Scroll Method

Scrolls the grid to the given horizontal and vertical positions.

API unit family: TMSFNCDataGridRenderer Declaring type: TTMSFNCDataGridRenderer

Syntax

FMX.TMSFNCDataGridRenderer.hppPascalC++
procedure Scroll(AHorizontalPos, AVerticalPos: Double);
void __fastcall Scroll(double AHorizontalPos, double AVerticalPos);

Remarks

Raises OnVScroll and OnHScroll for each axis whose position actually changed, then updates the grid. To bring a specific cell into view, use Navigate instead.

Parameters

Name Description
AHorizontalPos Horizontal scroll value, in the same units as GetHScrollValue.
AVerticalPos Vertical scroll value, in the same units as GetVScrollValue.