help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



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

TComponentList.Insert

Insert a new component in the list

Declaration

Source position: contnrs.pp line 110

public procedure TComponentList.Insert(

  Index: Integer;

  AComponent: TComponent

);

Arguments

Index

  

Position in the list where the component should be inserted

AComponent

  

Component instance to insert.

Description

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.

Errors

None.

See also

TObjectList.Insert

  

Insert an object in the list.

TComponentList.Add

  

Add a component to the list.

TComponentList.Remove

  

Remove a component from the list, possibly destroying it.

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505