Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Saving Window Location
Message
De
03/03/2008 01:34:11
 
 
À
03/03/2008 01:09:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01298086
Message ID:
01298087
Vues:
18
I have found the answer in an old message from CraigB;

Re: Difference in _SCREEN properties between versions Thread #683695 Message #683699


>Hi All,
>
>I am trying to save the users preferred window location of my app so that it can be restored the next time the app is run. However, there seems to be an additional 80 pixels in height coming from somewhere? Setting _SCREEN.TOP=0 results in the app being off the top of the screen (you can see this even from the command window in the IDE).
>
>If I restore _SCREEN.TOP to what it is what when I exited the app then the window appears about 80 pixels further down again? I have tried under WinXP and Vista. Using VFP9/SP1/2
>
>Any ideas how to correctly restore the windows location and size?
>
>Jos
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform