You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Array Collection - Last Property
Last is the Last item in a collection
Member of Array Collection (PRIM_ACOL)
Data Type - PRIM_OBJT - Base object, use it as the ancestor of components which are not visualized

Details


Reference to the last item in the collection

Example


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

  • No labels