Vcl.DBGrids.TCustomDBGrid.GetFieldValue
Delphi
function GetFieldValue(ACol: Integer): string;
C++
System::UnicodeString __fastcall GetFieldValue(int ACol);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Vcl.DbGrids.pas Vcl.DBGrids.hpp |
Vcl.DBGrids | TCustomDBGrid |
Description
Returns the value of the indicated cell formatted for display.
The DefaultDrawColumnCell method calls GetFieldValue to obtain the text that should be displayed in a cell. Applications do not call this protected method.
The ACol parameter is the index of the column in the columns array. If the Options property includes dgIndicator, this is not the same as the index of the column in the physical display.