Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Saving Window Location
Message
From
03/03/2008 02:42:59
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
03/03/2008 01:34:11
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01298086
Message ID:
01298093
Views:
20
IOW:

_SCREEN is the inner area. You mean _VFP

Agnes
>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
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Reply
Map
View

Click here to load this message in the networking platform