[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'DBGrids' (#lcl)

TDBGridColumns.LinkFields

Associates column items with the corresponding Fields in the Dataset.

Declaration

Source position: dbgrids.pas line 312

public procedure TDBGridColumns.LinkFields;

Description

LinkFields is a procedure which associates column items to the corresponding Fields in the Dataset for the Grid. LinkFields uses Grid to call its BeginLayout and EndLayout methods prior to and immediately after linking the Items in the collection to fields in the Dataset. This forces the Grid control to be updated when the method has completed. LinkFields calls the TColumn.LinkField method for each of the Items in the collection.


Version 4.0 Generated 2025-05-03 Home