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.
FOR zzz = 1 TO MyForm.Grid1.COLUMNCOUNT
cColMac = 'column' + ALLTRIM(STR(zzz))
MyForm.Grid1.&cColMac..WIDTH = ;
TXTWIDTH(MyForm.Grid1.&cColMac..text1.TEXT, 'Arial', 10) *;
FONTMETRIC(6, MyForm.Grid1.&cColMac..FONTNAME, MyForm.Grid1.&cColMac..FONTSIZE)
NEXT
*...
You can try changing
FONTMETRIC(6, MyForm.Grid1.&cColMac..FONTNAME, ;
MyForm.Grid1.&cColMac..FONTSIZE)
-to-
FONTMETRIC(6, MyForm.Grid1.&cColMac..FONTNAME, ;
MyForm.Grid1.&cColMac..FONTSIZE)