toni2002
asked on
resizing Flexgrid
Hi,
please ammend this code to resize the height of MSflexgrid rows to 100 , and resize the columns width to be autofit
MSflexGrid1.Rows = RS.RecordCount
For i = 0 To MSflexGrid1.Rows
MSflexGrid1.RowHeight(i) = 100
Next
MSflexGrid1.Cols = RS.Fields.Count
For i = 0 To MSflexGrid1.Cols
MSflexGrid1.colwidth(i) = ???
Next
thanx
please ammend this code to resize the height of MSflexgrid rows to 100 , and resize the columns width to be autofit
MSflexGrid1.Rows = RS.RecordCount
For i = 0 To MSflexGrid1.Rows
MSflexGrid1.RowHeight(i) = 100
Next
MSflexGrid1.Cols = RS.Fields.Count
For i = 0 To MSflexGrid1.Cols
MSflexGrid1.colwidth(i) = ???
Next
thanx
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.