Hello,
I'm using a FlexGrid and I set the MSFlexGrid1.ColWidth(0) to
1200 twips using the following code :
Result: the given string ...
"a brown fox jum ps over the lazy bag" ...is cropped (see Sample 1).
-Now I want to autosize the col height, if the given string
exceeds the cellwidth of 1st col, or the given string
exceeds the cellwidth of 2nd col.
The Result should be as shown in Sample 2).
-How can I do this?
![Name: MsFlexgrid_multiline.jpg
Views: 60
Size: 31.0 KB]()
I'm using a FlexGrid and I set the MSFlexGrid1.ColWidth(0) to
1200 twips using the following code :
Code:
Form1.MSFlexGrid1.ColWidth(0) = 1200
Form1.MSFlexGrid1.ColWidth(1) = 2900
Form1.MSFlexGrid1.FixedCols = 0'remove the gray "vertical fixed Col" on left side
"a brown fox jum ps over the lazy bag" ...is cropped (see Sample 1).
-Now I want to autosize the col height, if the given string
exceeds the cellwidth of 1st col, or the given string
exceeds the cellwidth of 2nd col.
The Result should be as shown in Sample 2).
-How can I do this?