Share via


ColAlignmentFixed Property (ModHFGrid)

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

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

Syntax

object.ColAlignmentFixed(index) [=value]

The ColAlignmentFixed property syntax has these parts:

Part Description
object An object expression that evaluates to the ModHFGrid Control object.
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.
flexAlignGeneral 9 The column content is of general alignment. This is left, center for strings and right, center for numbers.

Remarks

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

See Also

FixedCols, FixedRows Properties (ModHFGrid) | ModHFGrid Control