Sign in Join
FPDoc Onlineexperiment

TField.HasParent function

Member of TFieldprotectedIn unit DB

Declaration

pascal
function HasParent: Boolean; override

Description

Not described here; this is what TComponent.HasParent says of it:

Does the component have a parent ?

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.

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