TControl.GetParentComponent function
Returns the value in the Parent property.
Declaration
function GetParentComponent: TComponent; overrideFunction result
Value in the Parent property.
Description
GetParentComponent gets the component / control which has the
current class instance in its
Components property.
GetParentComponent is an overridden method in TControl, and re-implements the
inherited method. It uses the value in the Parent property as the return
value for the method. The inherited method always returns
Nil.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
