does anyone know how to set the column size in the flex grid control.
I want to preset the size of the columns so the user does not have to resize everytime they go to this form
Printable View
does anyone know how to set the column size in the flex grid control.
I want to preset the size of the columns so the user does not have to resize everytime they go to this form
BBYGolfer,
You need to set the Grid AllowUserSizing to 0(None) and then hard code the following Grid properties once the Grid has been populated:-
ColWidth(Index) FlexGrid properties;
Index is the colum you want to set the width for, if u need to set all of columns widths, do soemthing like this
For i = 0 To FlexGrid1.Cols
FlexGrid1.ColWidth(i) = YourConstantSetWidth
Next i
FlexGrid.ColWidth(index) = YourConstantSetWidth
Hope this helps
Kieran
Thanks,
Thats what I was looking for