ColAlignmentFixed Property

       

Returns or sets the alignment of data in the fixed cells of a column in an MSHFlexGrid.

Syntax

object.ColAlignmentFixed(index) [=value]

The ColAlignmentFixed property syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
index A Long value that specifies the column.
value An integer that determines the alignment of the data in the fixed cells, as described in Settings.

Settings

The settings for value are:

Constant Value Description
flexAlignLeftTop 0 The cell content is aligned left, top.
flexAlignLeftCenter 1 The cell content is aligned left, center.
flexAlignLeftBottom 2 The cell content is aligned left, bottom.
flexAlignCenterTop 3 The cell content is aligned center, top.
flexAlignCenterCenter 4 The cell content is aligned center, center.
flexAlignCenterBottom 5 The cell content is aligned center, bottom.
flexAlignRightTop 6 The cell content is aligned right, top.
flexAlignRightCenter 7 The cell content is aligned right, center.
flexAlignRightBottom 8 The cell content is aligned right, bottom.

Remarks

You can use the FixedCols and FixedRows properties to define the cells in a column.