Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
AutoCenter
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
01035549
Message ID:
01035560
Views:
16
On second thought there are probably a number of hacks you could do, but I wouldn't endorse any of them for a production APP....

re-center the form/screen on activate, just set the autocenter to .F. and then back to .T.
set up a ON KEY LABEL that will re-center the form/screen... so the user could press alt+ctrl+c or something and then do the autocenter trick above

...the problem with the first idea is it will take away your user's ability to move the screen/form over to one side of their desktop and have it stay there for very long
...the second idea is perhaps the most workable...

Based on your comments in the post before this one, I think I should mention that the autocenter only effects where the screen is first positioned when it is shown. I mean autocenter does not mean "always keep this form in the center no matter what", it just looks at the size of the form, determines the size of the _screen or desktop and then does the math to make sure the form is show in the center, after that it is up to the user where it ends up... and resolution changes are not taken into account, so it is possible to move a screen to the far right in high resolution and then switch to low and end up with a screen that is off the desktop... but that's no different then most windows applications.

>btw, I'm using VFP 8
>
>thanks for the help
>
>regards,
>
>Jerry
Previous
Reply
Map
View

Click here to load this message in the networking platform