[Overview][Constants][Types][Classes][Procedures and functions][Index] | Reference for unit 'Contnrs' (#fcl)

# TComponentList.Last

Last non-nil instance in the list.

## Declaration

Source position: contnrs.pp line 111

`public function TComponentList.Last: TComponent;`

## Function result

The last non-nil instance in the list, or Nil

## Description

Last overrides the implementation of it's ancestors to return the last non-nil instance of TComponent in the list. If no non-nil instance is found, Nil is returned.

## Errors

None.

## See also

TComponentList.First |  | First non-nil instance in the list.
TObjectList.Last |  | Return the last non-nil object in the list.

Documentation generated on: May 14 2021