RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomOutline.ItemCount Property

Indicates the number of nodes in the outline.

Pascal
property ItemCount: LongInt;
C++
__property LongInt ItemCount;

Read ItemCount to determine the number of nodes in the outline. Use ItemCount with the Items property array to iterate over all nodes in the outline.

Note: Reading ItemCount can be computationally expensive, as it causes all the indexes used by the outline to be updated.
 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!