Tree View Item - Position Property

Position allows the repositioning of a tree item

Member of Tree View Item (PRIM_TVIT)

Data Type - Integer


The Position property returns the physical location of the item in the visual list.
The top item in the list will have a position of 1.
Unlike Entry which changes rarely, Position changes whenever the list is sorted or manipulated in any way.  If the last item in the list is moved to the top, the Position of every item in the list would change.
A Tree with a ViewStyle of Unlevelled can change the Position of items with in the branch provided there is no sort column.

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020