Table of Contents

TTMSFNCTreeViewData.ScrollToVirtualNodeRow Method

Scrolls to the virtual node at a row index.

API unit family: TMSFNCTreeViewData Declaring type: TTMSFNCTreeViewData

Syntax

procedure ScrollToVirtualNodeRow(ARow: Integer; AScrollIfNotVisible: Boolean = False; AScrollPosition: TTMSFNCTreeViewNodeScrollPosition = tvnspTop; AForceScroll: Boolean = False); virtual;

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.