When i put,
Grid1.ColAlignment(1) = Vbcenter or
Grid1.ColAlignment(1) = 2
the alignment stay´s on the left.
Printable View
When i put,
Grid1.ColAlignment(1) = Vbcenter or
Grid1.ColAlignment(1) = 2
the alignment stay´s on the left.
In case of misunderstanding, ColAlignment aligns the Text inside the column, not the column itself.
If you knew that already, keep in mind that it centers the Text vertically, not horizontally. If you want to align it horizontally, use the CellAlignment property.
Code:MSFlexGrid1.CellAlignment = flexAlignCenterCenter
feel free to add this one to my account .