In my app I would like my users to be able to hit the ESC key to Release the Active object no matter what it is, a form, print preview, etc, and have the previously Active object become Active.
I know there must be a standard routine to do this. How do I determine what is the currently Active object and should I run the Destroy or Release method to Deactivate the object?
Thank you in advance.