Claudio,
In a word - Nope it does nothing of the kind :-(
The main forms unload event holds a CLEAR EVENTS, but I can no longer close the app down :-(
I was wrong about the "if VFP is active, the main form gets the focus". It does not. But after some applications, for instance a certain game has been run, all of a sudden everything works as it's supposed to.
Might it be hardware related?
>>Claudio,
>>
>>Read Events every time the form is activated? What are the consequences?
>>
>It gets the focus !!
Peter Pirker
Whosoever shall not fall by the sword or by famine, shall fall by pestilence, so why bother shaving?
(Woody Allen)