Specifies the alignment of text and controls in a Column object. Available at design time; read/write at run time.
|
---|
Column.DynamicAlignment [= "cAlign"] |
Return Value
-
cAlign
-
Specifies a character expression that evaluates to a value as described in the following table. The alignment value is reevaluated at run time each time the Grid control is refreshed.
cAlign evaluates to
|
Description
|
0
|
Middle Left.
Aligns the text flush left and centered vertically.
|
1
|
Middle Right.
Aligns the text flush right and centered vertically.
|
2
|
Middle Center.
Aligns the text in the middle with equal spaces to the right and left and is centered vertically.
|
3
|
Automatic. (Default)
Aligns text based on the data type of the control source. Numeric types, such as Numeric, Double, Float, Currency, and Integer, are aligned to the right; controls with other data types are aligned to the left.
|
4
|
Top Left.
Aligns the text flush left and at the top of the column.
|
5
|
Top Right.
Aligns the text flush right and at the top of the column.
|
6
|
Top Center.
Aligns the text in the middle with equal spaces to the right and left and at the top of the column.
|
7
|
Bottom Left.
Aligns the text flush left and at the bottom of the column.
|
8
|
Bottom Right.
Aligns the text flush right and at the bottom of the column.
|
9
|
Bottom Center. Aligns the text in the middle with equal spaces to the right and left and at the bottom of the column.
|
Remarks
See Also