Sign in Join
FPDoc Onlineexperiment

TContainedAction.SetParentComponent procedure

Member of TContainedActionprotectedIn unit ActnList

Sets the parent component for the class instance.

Declaration

pascal
procedure SetParentComponent(AParent: TComponent); override

Arguments

AParent

Value assigned to the parent component for the class.

Description

SetParentComponent is an overridden method used to set the property in the class instance which contains the parent component. It re-implements the method from the ancestor class.

In TContainedAction, it sets the ActionList property to the value in AParent when AParent is derived from TCustomActionList.

See also

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