Vcl.Outline.TCustomOutline.GetVisibleNode

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetVisibleNode(Index: LongInt): TOutlineNode;

C++

TOutlineNode* __fastcall GetVisibleNode(int Index);

Properties

Type Visibility Source Unit Parent
function public
Vcl.Outline.pas
Vcl.Outline.hpp
Vcl.Outline TCustomOutline

Description

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

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].

See Also