Problems using close to shut down a form lazarus / 13-General ---------------------------------------------------------------------- Eduardo · 2006-01-12 19:55 Hi. I´m still a novice on Lazarus I´m having a problem when I try to use the method "close" on a form. Sometimes, when I use this method it shuts down all application and sometimes it doesn´t. Why does that thing happen? Sorry for the bad English. Thank any for the atention. ---------------------------------------------------------------------- matthijs · 2006-01-13 06:31 When you close the main form of your application, your application will be closed as well. When you close another form only that form will be closed and you will be returned to the form that showed it. So: If you close the main form you application will shut down even if there are other forms opened. ---------------------------------------------------------------------- Anonymous · 2006-01-23 16:36 use this application.destroy ---------------------------------------------------------------------- Marc · 2006-01-30 17:52 Quote from: "Anonymous"use this application.destroy Eeeewww better use   Application.Terminate.