Sign in Join
FPDoc Onlineexperiment

TContainedAction.HasParent function

Member of TContainedActionpublicIn unit ActnList

Indicates if a value has been assigned to the property with the parent component for the class instance.

Declaration

pascal
function HasParent: Boolean; override

Function result

True when the parent component has been assigned.

Description

HasParent is an overridden method in TContainedAction. It checks for an assigned value in the ActionList property, and sets the return value to True when assigned. Otherwise, the inherited method is called to get the return value.

See also

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