API:Vcl.DBGrids.TGridDataLink.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

constructor Create(AGrid: TCustomDBGrid);

C++

__fastcall TGridDataLink(TCustomDBGrid* AGrid);

Properties

Type Visibility Source Unit Parent
constructor public
Vcl.DbGrids.pas
Vcl.DBGrids.hpp
Vcl.DBGrids TGridDataLink

Description

Creates an instance of TDataLink.

Vcl.DBGrids.TGridDataLink.Create inherits from Data.DB.TDataLink.Create. All content below this line refers to Data.DB.TDataLink.Create.

Creates an instance of TDataLink.

Create is called from the constructor of any data-aware object that uses a TDataLink to implement its DataSource property.

After calling the inherited constructor, Create initializes the BufferCount property to 1. Data-aware objects that use a TDataLink object to manage their link to a DataSource should change the BufferCount property to the number or records they represent, after calling the inherited constructor.

See Also