Thanks David,
I rediscovered the first part earlier... I appreciate the code snippet and will incorporate it into that and similar sections. :-)
>Ashley,
>
>Items created with AddObject have .Visible set .F. so you can finish setting properties likt .Top and .Left before you make it visible.
>
>Here's a little optimization of your code you might want to look at:
>
>
for x = 1 to this.grdPatCells.ColumnCount
> loCol = this.grdPatCella.Columns[x]
> with loCol
> .Width = 40
> .Header1.Caption=field(x)
> ...
> endwith
>endfor
>if you have VFP5 it can be simplified even more
>
>
foreach loCol in this.grdPatCells.Columns
> with loCol
> .Width = 40
> .Header1.Caption=field(x)
> ...
> endwith
>endfor
>