Skip to main content
Table of Contents

TTMSFNCTreeViewData.ScrollToVirtualNodeRow Method

Scrolls to the virtual node at a row index.

API unit family: TMSFNCTreeViewData Declaring type: TTMSFNCTreeViewData

Syntax

FMX.TMSFNCTreeViewData.hppPascalC++
procedure ScrollToVirtualNodeRow(ARow: Integer; AScrollIfNotVisible: Boolean = False; AScrollPosition: TTMSFNCTreeViewNodeScrollPosition = tvnspTop; AForceScroll: Boolean = False); virtual;
virtual void __fastcall ScrollToVirtualNodeRow(int ARow, bool AScrollIfNotVisible = false, TTMSFNCTreeViewNodeScrollPosition AScrollPosition = (TTMSFNCTreeViewNodeScrollPosition)(0x0), bool AForceScroll = false);

Parameters

Name Description
ARow The row index to scroll to.
AScrollIfNotVisible True scrolls only when the row is outside the visible area; False always applies the requested scroll behavior.
AScrollPosition The desired row position in the viewport.
AForceScroll True forces scrolling even when normal checks would skip it; False uses normal scroll checks.