[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Gets the default alignment for the Field in the column definition.
Source position: dbgrids.pas line 275
protected function TColumn.GetDefaultAlignment: TAlignment; override; |
Alignment for the Field and/or editor style.
GetDefaultAlignment is an overridden TAlignment function that gets the default alignment for the Field in the column definition. GetDefaultAlignment gets the button style used by the default editor for Field. For checkbox and button-style editors, center alignment is used. Otherwise, the Alignment in Field is used. If Field has not been assigned, left alignment is used.