[Overview][Types][Classes][Procedures and functions][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
TColumn - one of the physical columns of the display in a DataBase Grid (not necessarily the same as a Column in a SQL database)
Source position: dbgrids.pas line 203
type TColumn = class(TGridColumn) |
||
protected |
||
function CreateTitle; override; |
|
|
function GetDefaultAlignment; override; |
|
|
function GetDefaultDisplayFormat; |
|
|
function GetDefaultValueChecked; override; |
|
|
function GetDefaultValueUnchecked; override; |
|
|
function GetDefaultVisible; override; |
|
|
function GetDisplayName; override; |
|
|
function GetDefaultReadOnly; override; |
|
|
function GetDefaultWidth; override; |
|
|
function GetPickList; override; |
|
|
property IsAutomaticColumn: Boolean; [r] |
|
|
property IsDesignColumn: Boolean; [r] |
|
|
procedure LinkField; |
|
|
public |
||
constructor Create(); override; |
|
Creates a new instance of this collection item. |
procedure Assign(); override; |
|
|
function IsDefault; override; |
|
Is this the default column for consideration in this DB grid? |
property DesignIndex: Integer; [r] |
|
|
property Field: TField; [rw] |
|
The Field in the DataSet that is to be associated with this Column, for display , editinig etc |
published |
||
property FieldName: String; [rw] |
|
The name of the field (as a string), as returned from the dataset |
property DisplayFormat: String; [rws] |
|
The format to be used for display in this column |
end; |
|
TColumn - one of the physical columns of the display in a DataBase Grid (not necessarily the same as a Column in a SQL database) |
|
| | ||
TGridColumn |
||
? | ||
TObject |
TColumn - one of the physical columns of the display in a DataBase Grid
Each column may display the information held in a Field of the DataSet to which the DBGrid is attached, but the order of appearance of the columns need not correspond to the order in which the Fields exist in the DataSet, nor need all Fields be represented by a Column.