Sorted Array Collection - Last Property

Last is the Last item in a collection

Member of Sorted Array Collection (PRIM_SACO)

Data Type - PRIM_OBJT - Base object, use it as the ancestor of components which are not visualized


Reference to the last item in the collection


Setting the caption of the last item in a collection of buttons
#Buttons.Last.Caption := #NewCaption
This is the equivalent of writing
#Buttons<#Buttons.ItemCount>.Caption := #NewCaption

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020