Check out READKEY()... An "IF READKEY()...ENDIF" can be placed in
the READ VALID clause to test for the events you described below.
The Language Reference/Online Help contains the return values for
READKEY()
HTH,
Joe Miller
At 12:34 AM 11/19/96 -0500, you wrote:
>
>Does anyone know if it is possible to trap for the user selecting close
from a screens control menu?
> (fpw 2.6a, win 3.x).
>
>ie I would like user to be able to close a screen by:
> - pressing cancel button or
> - selecting close from screens control menu or
> - double clicking screens title bar icon
>All of which are standard win 3.x interface actions.
>
>Also - selecting close from the screens control menu doesn't seem to clear
the read.
>
>Thanks for any help.
>--
>Peter Clemmett
>petercle@ihug.co.nz
>
>
http://202.37.133.151/starsoft/
>
>God put me on earth to accomplish a certain number of things.
>Right now I am so far behind, I will never die!
>
>