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 examle is wrong?
> 
> 
-- 
View this message in context: 
http://old.nabble.com/FMain_Focus%28%29---DOES-NOT-WORK-tp33492703p33493055.html
Sent from the gambas-user mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to