FlexGrid

Colin13
03-07-2003, 07:38 AM
How do you set alignment in a flex grid to the left?
I want all text in each column aligned to the left, right now they are on the right side and it cuts off the begining of the text.

Thanx

gallicus
03-07-2003, 08:52 AM
How do you set alignment in a flex grid to the left?
I want all text in each column aligned to the left, right now they are on the right side and it cuts off the begining of the text.

Thanx

can you not use the ColumnAligment property?

Me.MSFlexGrid1.ColAlignment(1) = 1

the integer value 1 can be replaced with flexAlignLeftCenter

Me.MSFlexGrid1.ColAlignment(1) = flexAlignLeftCenter

Hope this helps

Colin13
03-07-2003, 08:55 AM
Thanx, thats works great.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum