Unit 'Classes' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

TComponent.HasParent

Does the component have a parent ?

Declaration

Source position: classesh.inc line 2553

public function TComponent.HasParent: Boolean; dynamic;

Description

HasParent can be implemented to return whether the parent of the component exists. The implementation of this method in TComponent always returns False, and should be overridden by descendant classes to return True when a parent is available. If HasParent returns True, then GetParentComponent will return the parent component.

See also

HasParent

  

Does the component have a parent ?

Owner

  

Owner of this component.


Documentation generated on: Oct 27 2024