[Overview][Constants][Types][Classes][Procedures and functions] | Reference for unit 'contnrs' (#fcl) |
Add a component to the list.
Source position: contnrs.pp line 104
public function TComponentList.Add( |
AComponent: TComponent |
):Integer; |
AComponent |
|
The component to add. |
Index at which the component was added.
Add overrides the Add operation of it's ancestors, so it only accepts TComponent instances. It introduces no new behaviour.
The function returns the index at which the component was added.
If not enough memory is available to expand the list, an exception may be raised.
TObectList.Add |
No notes exist for this page yet.