Object Reference > True DBGrid Properties > HeadAlignment Property |
The HeadAlignment property returns or sets a value that determines the alignment of the headings for an individual column.
column.HeadAlignment= value
Values
Design Time |
Run Time |
0 - Left |
dbgLeft |
1 - Right |
dbgRight |
2 - Center |
dbgCenter |
3 - General (default) |
dbgGeneral |
Read/Write at run time and design time.
The General setting means that the column's Alignment property will be used to format both the column headings and the cell text.