Re: [Gambas-user] FMain_Focus() - DOES NOT WORK

2012-03-13 Thread Rolf-Werner Eilert
Maybe the form can't lose focus because there is always at least one control on it which gets the focus? Am 13.03.2012 10:34, schrieb abbat: > > Strange > Now it works so: > > Public Sub Form_LostFocus() > Me.Close > End > > BUT ! > If my form has NO controls. > > If I add one

Re: [Gambas-user] FMain_Focus() - DOES NOT WORK

2012-03-13 Thread abbat
Strange Now it works so: Public Sub Form_LostFocus() Me.Close End BUT ! If my form has NO controls. If I add one button to my form then Form_LostFocus() stops to work. :confused: abbat wrote: > > Public Sub Fmain_LostFocus() > Me.Close > End > > Does not work. > Or exa

[Gambas-user] FMain_Focus() - DOES NOT WORK

2012-03-13 Thread abbat
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. -