Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Screen starting position and size
Message
De
08/10/2016 09:13:43
 
 
À
08/10/2016 09:01:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Divers
Thread ID:
01641756
Message ID:
01641757
Vues:
59
J'aime (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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform