i was just wondering how to unload a form if the mouse is not on it anymore

any ideas
thanks