Is there any property for grid controls
Or how to resolve through coding.
Thnx.
use the format function:
format(sngValue, "##.##") Private Sub Form_Load()
Dim sngValue as Single
sngValue = 52.345
MSFlexGrid1.Col = 1
MSFlexGrid1.Row = 1
MSFlexGrid1.Text = Format(sngValue, "##.##")
End Sub
Notice, you have to set the Column and row you're working with before setting the value of the text.
Check your MSDN documentation of the format property.