>>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
>In the init of form :
>
>this.autocenter=.f.
>this.left = max((_screen.width - this.width) / 2,0)
>this.top = max((_screen.height - this.height) / 2,0)
>
Ahh... Thanks Appreciate the help!