Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do you autocenter the main foxpro window?
Message
From
09/08/2000 18:09:10
 
 
To
09/08/2000 16:05:46
Brent Knight
Progressive Impressions International
Bloomington, Illinois, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00403030
Message ID:
00403115
Views:
14
>I am sizing the main window with the height and width commands. Now I am would like to autocenter the screen.
>
>_screen.autocenter = .T. doesn't work. I have even refreshed the screen after doing the autocenter command.
>
>Any ideas?
>
>Thanks

_SCREEN.Left = (SYSMETRIC(1)-_SCREEN.Width)/2
_SCREEN.Top = (SYSMETRIC(2)-_SCREEN.Height)/2
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform