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

Rolf-Werner Eilert eilert-sprachen at ...221...
Tue Mar 13 10:50:57 CET 2012


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 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?
>>
>>





More information about the User mailing list