Tracy,
I have a vague recollection of the initial screen location/size being stored in the foxuser table, have you tried deleting that on one of the machines where it doesn't work.
>Hi Caroline, thanks for replying so quickly. My scalemode is set to 3.
>Tracy
>
>>>Hi all, I have the following code in my main.prg which works in most instances. However, on some systems (doesn't matter the screen resolution or the OS) for some reason autocenter does not work and neither does setting the top of the form. The form and main screen will appear so high on the screen that the menu is not visible. I have not been able to isolate this problem and determine what is causing it. To fix it, we have been allowing the user to move the window down to where it is visible. However, the same monitor on a different system will show the window exactly where it should be. If there is not a resolution for what is causing this, then I would like to save the new location (.top=4 on some systems) to a registry key and restore it everytime that system starts the vfp app again. Any ideas anyone?
>>>
>>>Here is the code in main.prg:
>>>
>>>
>>> With _Screen
>>> .LockScreen=.T.
>>> .fontname="foxfont"
>>> .fontsize=10
>>> .fontbold=.f.
>>>* .BorderStyle=1
>>> .BorderStyle=1
>>> .WindowState=0
>>> .Closable=.F.
>>> .ControlBox=.T.
>>> .MaxButton=.F.
>>> .MinButton=.T.
>>>* .Width = 640
>>> .Width = 640
>>>* .Height = 320
>>> .Height = 380
>>>* .MaxWidth = 670
>>>* .MaxHeight = 320
>>> .MinWidth = 640
>>> .MinHeight = 380
>>> .Caption="Policy Profiler 32"
>>> .autocenter=.T.
>>> .LockScreen=.F.
>>> .visible=.T.
>>> Endwith
>>>
>>
>>I'm sure this is a silly question but what is your ScaleMode set to?
Caroline