Hmmm......Close can also map to CTRL+F4 or CTRL-W ... try trapping all three via LASTKEY and maybe that will help.
>
>Another question, alot off the subject. When a BROWSE window is closed with the close button, is there a way to programmatically know that. I tried to see if the LASTKEY = 23 (ctrl+w), but got inconsistent results. Any ideas.
>
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05