Data.DB.TField.HasParent

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function HasParent: Boolean; override;

C++

DYNAMIC bool __fastcall HasParent();

Properties

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

Description

Returns true, indicating that field components act as part of a larger composite.

The streaming system that loads and saves components calls HasParent to determine when a component acts as part of a composite. The component that represents the entire composite is returned by the GetParentComponent method. The parent component is responsible for directing the loading and saving of its subcomponents.

See Also