TTMSFNCTreeViewData.ScrollToVirtualNodeInternal Method
Scrolls a virtual node into view using the internal scroll routine.
API unit family: TMSFNCTreeViewData
Declaring type: TTMSFNCTreeViewData
Syntax
procedure ScrollToVirtualNodeInternal(ANode: TTMSFNCTreeViewVirtualNode; AScrollIfNotVisible: Boolean = False; AScrollPosition: TTMSFNCTreeViewNodeScrollPosition = tvnspTop; AForceScroll: Boolean = False); virtual;
Parameters
| Name | Description |
|---|---|
ANode |
The virtual node to scroll to. |
AScrollIfNotVisible |
True scrolls only when the node is outside the visible area; False always applies the requested scroll behavior. |
AScrollPosition |
The desired node position in the viewport. |
AForceScroll |
True forces scrolling even when normal checks would skip it; False uses normal scroll checks. |