Sign in Join
FPDoc Onlineexperiment

TComponentList.Insert procedure

Member of TComponentListpublicIn unit Contnrs

Insert a new component in the list.

Declaration

pascal
procedure 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.