>I've redefined the dimensions of my main app window to 400x228 (heightxwidth). I need to center the app in the users window.
>Because this is the main foxpro window the autocenter property is not available.
>
>Please help my tired brain remember the trick to solving this problem.
>
>TIA
>
>Brad
Try this:
_SCREEN.Left = (SYSMETRIC(21)/2) - (_Screen.Width/2)
_SCREEN.Top = (SYSMETRIC(22)/2) - (_Screen.Height/2)
Erik Moore
Clientelligence