Data.DB.TField.GetParentComponent
[–] Properties | |
---|---|
Type: function | |
Visibility: public | |
Source: Data.DB.pas Data.DB.hpp
| |
Unit: Data.DB | |
Parent: TField |
Delphi
function GetParentComponent: TComponent; override;
C++
DYNAMIC System::Classes::TComponent* __fastcall GetParentComponent();
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.