Sorry David for responding late but work got me.
I tried changing the pgf size a bit smaller height & width but the same problem. I also checked for code regarding height assignments but none were there.
>Bhavbhuti,
>
>>Thanks David for responding. I was suggested by Sergey yesterday for your util ObjRef, a fine utility, thanks.
>
>Thanks, I'm glad you like it.
>
>>Form width and pageframe width are almost the same. The height of the pgf is much smaller than the form height.
>
>Try making the form a few pixels wider or the pageframe a few pixels narrower and see if that helps. Are you sure you are not doing something that causes the PageFrame to resize or reposition at runtime? My little test form here in VFP6SP5 is working ok, it looks te same both in the desgner and running.