>Hi Mike,
>
>Your own programs are calling you a moron. <s>
>IOW when you start that Pong thing not being in the directory it is located then you get two errors.
>
>I've also seen another thing.
>You set the _screen.top to 0
>In VFP 6 that sets the titlebar on the top of the screen.
>in vfp 7 it sets the titlebar, and the menu above the screen.
>If you use _vfp.top = 0 instead you get the normal behavior back again.
>So the _screen if now the white space in the middle.
>It also recognizes the docked command window.
>so when you set the _screen.width to something, then _vfp.width is set to commandwindow.width+2xsizeofscreenborder
>
>This can be very usefull when you want to set the usable screen size to a specific value for your app.
Ko,
This was an intentional design change to the VFP7 product. The coordinate properties for _VFP and _SCREEN seemed out of whack. We changed it so that _VFP now refers to the VFP application window and _SCREEN references the desktop client area. The changes affects _VFP.Width, _VFP.Height, _SCREEN.Top and _SCREEN.Left. This gives developer more flexibility in managing things like toolbars. The NEWTBARS sample in Solutions gives a nice example using these changes.
Randy
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only