API:Data.DB.TField.HasParent

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function HasParent: Boolean; override;

C++

DYNAMIC bool __fastcall HasParent(void);

Properties

Type Visibility Source Unit Parent
function public
Data.DB.pas
Data.DB.hpp
Data.DB TField

Description

Verifies whether the component has a parent.

Data.DB.TField.HasParent inherits from System.Classes.TComponent.HasParent. All content below this line refers to System.Classes.TComponent.HasParent.

Verifies whether the component has a parent.

Call HasParent to determine whether a specific component has a parent.

Derived classes override this method to implement proper handling for parenting.

Use GetParentComponent to retrieve the component reference.

See Also