TBaseVirtualTree.ScrollIntoView Method

Virtual Tree View

Scrolls the tree so that the given node comes in the client area.

Pascal
function ScrollIntoView(Node: PVirtualNode; Center: Boolean; Horizontally: Boolean = False): Boolean;
Description

ScrollIntoView scrolls the tree so that the given node is in the client area and returns true if the tree really has been scrolled (e.g. to avoid further updates) else it returns false. If extened focus is enabled then the tree will also horizontally scrolled if needed. All collapsed parents of the node are expanded, forming so a visible path to Node.

Class
Links
What do you think about this topic? Send feedback!