Data.DB.TField.GetParentComponent
Delphi
function GetParentComponent: TComponent; override;
C++
DYNAMIC System::Classes::TComponent* __fastcall GetParentComponent(void);
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.