Carousel Item - Position Property

Position of the item in the component list

Member of Carousel Item (PRIM_CARO.CarouselItem)

Data Type - Integer

Details

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.

Example

Using position to organize list items. In this example, a newly added entry is moved to the top of the list.
Add_Entry To_list(#List)
#List.CurrentItem.Position := 1

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2