ColTitleAlign Property
Applies To: Grid ListView

Description

The ColTitleAlign property specifies the alignment of column titles. For a ListView object this is only relevant only when the View property is set to 'Report'. ColTitleAlign is either a simple character vector, or a vector of character vectors with one element per column.

For a Grid, ColTitleAlign may be:'Top', 'Bottom', 'Left', 'Right', 'Centre', 'TopLeft', 'TopRight', 'BottomLeft', or 'BottomRight'.

For a ListView object, ColTitleAlign may be 'Left', 'Right' or 'Centre'. Also, for a ListView the column data itself is aligned likewise. Note that the first column in a ListView is always left-aligned regardless of the setting of ColTitleAlign. This is a Windows restriction.

Note that both spellings 'Centre' and 'Center' are accepted.