RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomOutline.SetGoodIndex Method

Returns the first node in the Items array that must be reindexed to make the index of the Value parameter correct.

Pascal
function SetGoodIndex(Value: TOutlineNode): TOutlineNode;
C++
__fastcall TOutlineNode SetGoodIndex(TOutlineNode Value);

Call SetGoodIndex to determine how much of the Items array must be reindexed after changing the nodes in the outline. All nodes from the root to the value returned by SetGoodIndex do not need to be reindexed. 

 

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