Tree View - Entries Property

The number of entries in the underlying data list

Member of Tree View (PRIM_TRVW)

Data Type - Integer

Details

The Entries property returns the number of data entries in the underlying data list.
 
For a tree view with ViewStyle(Levelled), the number of items and entries may differ as the tree can creates items automatically to build the heirarchy.

Example

Using the Entries property to test whether a list has been loaded.
If (#List.Entries = 0)
 
   #Com_owner.LoadList
 
Endif

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2