Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Tree View - Entries Property

Panel
bgColor#2c3c4c

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