Vcl.DBGrids.TCustomDBGrid.CreateDataLink

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function  CreateDataLink: TGridDataLink; dynamic;

C++

DYNAMIC TGridDataLink* __fastcall CreateDataLink();

Properties

Type Visibility Source Unit Parent
function protected
Vcl.DbGrids.pas
Vcl.DBGrids.hpp
Vcl.DBGrids TCustomDBGrid

Description

Creates the data link that the grid uses to manage the connection to its data source.

TCustomDBGrid calls CreateDataLink from its constructor to create the data link that manages the connection to a data source. Descendant classes can override this method to create a different TGridDataLink descendant.

See Also