| [Overview][Constants][Types][Classes][Procedures and functions][Index] | 
Insert a new component in the list
Source position: contnrs.pp line 112
| public procedure TComponentList.Insert( | 
| Index: Integer; | 
| AComponent: TComponent | 
| ); | 
| Index | 
 | Position in the list where the component should be inserted | 
| AComponent | 
 | Component instance to insert. | 
Insert inserts a TComponent instance (AComponent) in the list at position Index. It simply overrides the parent implementation so it only accepts TComponent instances. It introduces no new behaviour.
None.
| 
 | Insert an object in the list. | |
| 
 | Add a component to the list. | |
| 
 | Remove a component from the list, possibly destroying it. |