RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomOutline.GetVisibleNode Method

Returns the TOutlineNode object for the node indicated by a position in the image of the outline.

Pascal
function GetVisibleNode(Index: LongInt): TOutlineNode;
C++
__fastcall TOutlineNode GetVisibleNode(LongInt Index);

Call GetVisibleNode to locate a node with the position given by the Index parameter, where all nodes that are hidden because their parent node is collapsed are ignored. An Index of 0 indicates the first visible node, an Index of 1 indicates the second visible node, and so on. If the outline is fully expanded, GetVisibleNode returns the value of Items[Index+1]. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!