Tree View - Items Property

Collection of items in the component

Member of Tree View (PRIM_TRVW)

Data Type - Collection ofPRIM_TVIT - Entry in a tree view


Collection of all items at the root level of the tree.
Items are in the order they appear on the screen.
Items parented to child items are accessible via the Items property of the item.
Accessing a list item does not set CurrentItem, so field values for the item are not returned to the parent component.


Iterating over the selected items at the root level of a tree.
For each(#Item) In(#Tree.Items)
   Continue (*Not #Item.Selected)
   * User processing here

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020