TBaseVirtualTree.SelectNodes Method

Virtual Tree View

Selects a range of nodes.

Pascal
procedure SelectNodes(StartNode: PVirtualNode; EndNode: PVirtualNode; AddOnly: Boolean); virtual;
Description

SelectNodes selects a range of nodes and unselects all other possibly selected nodes which are not in this range if AddOnly is false. EndNode must be visible while StartNode does not necessarily, as in the case where the last focused node is the start node but it is a child of a node which has been collapsed previously. In this case the first visible parent node is used as start node. StartNode can be nil in which case the very first node in the tree is used.

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