[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Associates column items with the corresponding Fields in the Dataset
Source position: dbgrids.pas line 315
public procedure TDBGridColumns.LinkFields; |
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.
lazarus-ccr.sourceforge.net |