Data.DB.TField.GetParentComponent

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetParentComponent: TComponent; override;

C++

DYNAMIC System::Classes::TComponent* __fastcall GetParentComponent();

Properties

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

Description

Returns the component which directs the loading and saving of the field.

The streaming system that loads and saves components calls GetParentComponent to identify the component that uses this field to represent one of its parts. If the field represents a subfield in an object field, GetParentComponent returns the value of ParentField. Otherwise, GetParentComponent returns the value of DataSet.

See Also