RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomOutline.BadIndex Method

Indicates whether a node's index is up to date.

Pascal
function BadIndex(Value: TOutlineNode): Boolean;
C++
__fastcall Boolean BadIndex(TOutlineNode Value);

Use BadIndex to determine whether the Index property of the TOutlineNode object specified by the Value parameter accurately reflects the position of the node in the outline.  

If nodes are added or removed after a call to BeginUpdate, the indexes may be out of date until the EndUpdate method is called. 

 

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