Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
n := 0;
for i := 0 to StringGrid1.RowCount -1 do
begin
if StringGrid1.Canvas.TextWidth(Stringrid1.Cells[0, i]) > n then
n := StringGrid1.Canvas.TextWidth(Stringrid1.Cells[0, i])
end;
StringGrid1.ColWidths[0] := n