I have a small application I'm writing in Lazarus. Whenever a form other than the main form is shown and closed the main form of the application hides behind any other window I may have open. It get sent behind other windows. How can I avoid this behavior? Vista32/Lazarus rev. 25961 -- Warm Regards, Lee