Public Sub Fmain_LostFocus() Me.Close End Does not work. Or examle is wrong? -- View this message in context: http://old.nabble.com/FMain_Focus%28%29---DOES-NOT-WORK-tp33492703p33492703.html Sent from the gambas-user mailing list archive at Nabble.com.