Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Screen starting position and size
Message
From
08/10/2016 09:13:43
 
 
To
08/10/2016 09:01:36
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Miscellaneous
Thread ID:
01641756
Message ID:
01641757
Views:
58
Likes (1)
>When I start application, every time _Screen has either fixed position and size if it's not maximized.
>Is it possible to make Windows manage _screen position and size, so that every user can set app's preffered position and size?
>Windows usually remember applications last position and size and I want that my VFP app behave the same way.

In one of the last events of your application, for instance yourform.unload, you create a text file where you store the values you want. In one the first events that fire when you open the form, for instance yourform.activate, you add code to check if this file exists. If it exists, you read the values from this file.
Previous
Reply
Map
View

Click here to load this message in the networking platform