Data.DB.TField.HasParent

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: public
Source:
Data.DB.pas
Data.DB.hpp
Unit: Data.DB
Parent: TField

Delphi

function HasParent: Boolean; override;

C++

DYNAMIC bool __fastcall HasParent();

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