Hi,
If you want mean is to have your form always centered on the screen, then use AutoCenter property and set it to .T. (True). And to ensure that your Grid is always centered in the form, you may at the Resize event of the form:
WITH This.MyGrid
.Left = ( This.Width - .Width ) / 2
ENDWITH
>hi,
>thank you for reply,
>
>if myscreen is 14 inch,i put mygrid at the the center of myform,
>
>the customer screen is ex..21 inch,can i see the grid at the center as 14 inch.
>
>thanks.
>m.qasem