Hi!
I also see this problem. Assumed default margin (2).
This could be reported asa bug.
>When a column gets AUTOFITted, VFP does not take into effect the margin property of the text object.
>
>Ex:
>frmForm.grdGrid.colColumn.txtTextBox.Margin = 5
>
>When you AutoFit the column, you will notice that the right side of the text (of the longer or longest entries) is cut off. Apparently the function assumes a zero margin.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.