Sign in Join
FPDoc Onlineexperiment

TComponent.InsertComponent procedure

Member of TComponentpublicIn unit Classes

Insert the given component in the list of owned components.

Declaration

pascal
procedure InsertComponent(AComponent: TComponent)

Description

InsertComponent attempts to insert AComponent in the list with owned components. It first calls ValidateComponent to see whether the component can be inserted. It then checks whether there are no name conflicts by calling ValidateRename. If neither of these checks have raised an exception the component is inserted, and notified of the insert.

See also

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