RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomOutline.GetDataItem Method

Returns the index of the first node in the outline that has the Value pointer as its Data property.

Pascal
function GetDataItem(Value: TCustomData): Longint;
C++
__fastcall Longint GetDataItem(TCustomData Value);

Call GetDataItem to locate the node that corresponds to the Value parameter. GetDataItem returns an index into the Items property array. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!