Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
I can't believe I'm asking this....
Message
From
30/04/1999 20:28:07
 
 
To
30/04/1999 00:59:52
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00213782
Message ID:
00214176
Views:
21
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform