Hi Lim,
you could keep AutoCenter = .T. but within the INIT-Event of your form there would be the following code:
IF _vfp.StartMode = 0
Thisform.Top = 0
Thisform.Left = 0
ENDIF
>>Hi Lim.
>>
>>When you set AutoCenter to .T. you are telling VFP to ignore the Top and Left values and automatically center the form in the display. If you want it to appear where the Top and left point, then don't turn AutoCenter on, leave it at .F.
>>
>>Ian Simcock.
>>
>
>The odd thing is, VFP not really ignore Top and Left properties, it reset them to default values.
>The problem is, I need the form to be at top left corner at design time, but center when run...
Best Regards
-Tom
Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it.
Oh, and BTW: 010101100100011001010000011110000101001001101111011000110110101101110011