Skip to main content
Table of Contents

TTMSFNCDataGridRenderer.SaveScrollPosition Method

Stores the current horizontal and vertical scroll position for a later RestoreScrollPosition.

API unit family: TMSFNCDataGridRenderer Declaring type: TTMSFNCDataGridRenderer

Syntax

FMX.TMSFNCDataGridRenderer.hppPascalC++
procedure SaveScrollPosition;
void __fastcall SaveScrollPosition();

Remarks

Only one position is kept; each call overwrites the previous one. Typical use is to preserve the view around a reload of the data.