>>I use the following to set the screen size:
>>
>>_screen.width = 792
>>_screen.height = 521
>>
>>However, when I open forms that are auto centering, they always appear in the center of the screen and not in the center of the form. Anyone know how I can correct this? The screen only starts out that size the user can expand/shring the form as they see fit. What I'm looking for is a method to center a form within the main visual foxpro screen and not the actual monitor screen. Thanks!
>>
>>Gary
>
>Gary are you using VFP3? VFP5? If VFP5 is the first form your top level form? Autocentering is designed to place each form in the center of the _screen, not of your first form.
>
>Barbara
Barbara,
VFP5.0a is the main form, but by resetting it to the demensions above in high resolution mode the form opens in the middle of the monitor and not the middle of the form which was reset by _screen statements.