RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TOutlineNode.HasItems Property

Indicates whether the outline node has any subnodes.

Pascal
property HasItems: Boolean;
C++
__property Boolean HasItems;

Read HasItem to determine whether the outline node is a leaf node. Depending on the OutlineStyle property of the outline that contains the node, leaf nodes may appear with the leaf bitmap. If the node is not a leaf, subnodes appear below and indented from the node when it is expanded. 

HasItem returns true if the node has any descendants, even if the node is collapsed and the descendants are not visible. HasItem returns false if the node is a leaf node. 

 

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