RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomOutline.GetTextItem Method

Returns the index of the first node in the outline with the Value parameter as its Text property.

Pascal
function GetTextItem(const Value: string): Longint;
C++
__fastcall Longint GetTextItem(const AnsiString Value);

Call GetTextItem to locate the node that corresponds to the Value parameter. GetTextItem 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!