Skip to main content
Table of Contents

TTMSFNCDataGridCore.UpdateVisualRange Method

Recalculates which scrollable rows and columns fall within the viewport.

API unit family: TMSFNCDataGridCore Declaring type: TTMSFNCDataGridCore

Syntax

FMX.TMSFNCDataGridCore.hppPascalC++
procedure UpdateVisualRange; virtual;
virtual void __fastcall UpdateVisualRange();

Remarks

Updates StartColumn, StopColumn, StartRow, StopRow, TotalColumnOffset and TotalRowOffset from the current scroll position and content rectangle. Hidden rows and columns are skipped. Does nothing while UpdateCount is above zero. The renderer calls it after scrolling, resizing and layout changes.