Jump to Real's How-to Main page

Close a window with ESC

Add the code below to the key event of the window:
CHOOSE CASE key
    CASE keyescape!
        close (this)
END CHOOSE

If you find this article useful, consider making a small donation
to show your supportfor this Web site and its content.

Written and compiled by Réal Gagnon ©1998-2005
[ home ]