RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TColumn.DefaultAlignment Method

Returns the default alignment for the column.

Pascal
function DefaultAlignment: TAlignment;
C++
__fastcall TAlignment DefaultAlignment();

Use DefaultAlignment to determine the alignment of the data in the column when the Alignment property has not been explicitly set. DefaultAlignment returns the Alignment property of the TField associated with the column. If the column has no dataset field associated with it, DefaultAlignment returns taLeftJustify. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!