[Gambas-user] Warning on Form Close

Benoît Minisini gambas at ...1...
Mon Jul 11 18:14:34 CEST 2016


Le 11/07/2016 17:58, Benoît Minisini a écrit :
> Le 11/07/2016 17:47, Gianluigi a écrit :
>> I have not noticed since going on but now if we write Public Sub
>> Form_C and
>> let complete the event procedure Close by the compiler we get this:
>>
>> Public Sub Form_Close() As Boolean
>>    ...
>> End
>>
>> I thought necessary to understand where I close the window, but if I
>> leave
>> as written by Gambas I can not start the application and I get this
>> warning
>> to the stack:
>>
>> Bad event handler in FMain.Form_Close():Not a procedure
>>
>> Do you know something about it?
>>
>> Regards
>> Gianluigi
>
> It's a bug in the event declaration. In the past (Gambas 1), event
> handlers could return something.
>

Fixed in revision #7815.

Regards,

-- 
Benoît Minisini




More information about the User mailing list