i use in my program MSFlexGrid but the text inside the flexgrid is width then cell so how could i make cell exact width as text inside. Help me
Printable View
i use in my program MSFlexGrid but the text inside the flexgrid is width then cell so how could i make cell exact width as text inside. Help me
You can do that with the vsflexgrid (by videosoft).
what is vsflexgrid any how could i get that
One bad notice: it isn“t free.
You can download a trial version. The company is VideoSoft.
The licenced version costs about $300. It is my favourite grid.
You may do it in this way:
This is just an idea. You may have to modify it for working..:)Code:Dim MaxWidth As Integer
If Len(Your_Text) > MaxWidth Then
MaxWidth = Len(Your_Text)
End If
MSFlexGrid.ColWidth(Your_Column) = MaxWidth
MSFlexGrid.TextMatrix(Your_Row,Your_Col) = Your_Text