>I know how to use the form moved event, but how do you detect if the user moved the application window, the _screen object? I want to capture the _screen.top and _screen.left when the application is moved when it is not in full screen mode. How can I capture these variable after the _screen is moved?
You can use BINDEVENT(). Here's a sample code
PUBLIC oHandler
oHandler = NEWOBJECT("ScreenMovedHAndler")
BINDEVENT(_SCREEN, "Moved", oHandler, "Moved")
DEFINE CLASS ScreenMovedHandler AS Session
PROCEDURE Moved
? _SCREEN.Top, _SCREEN.Left
ENDPROC
ENDDEFINE
--sb--