On 12-02-01 12:37 PM, Mattias Gaertner wrote: > Did you get a compiler error? No. The program merely hung upon reaching the Close. > > This works too: > > procedure TForm1.Button1Click(Sender: TObject); > begin > Close; > end; > > This did not work for me. However, the Form1.Close version did, and that's what I'm using. Thanks!