how can i format the text display in the MSHflexgrid?

code:

MSHFlexGrid2.Col = 6
MSHFlexGrid2.Text = Format(MSHFlexGrid2.Text, "dd/mm/yyyy")

I using above code but it only format first row of my table, what should i do?