[Gambas-user] Warning on Form Close

Gianluigi bagonergi at ...626...
Mon Jul 11 19:16:54 CEST 2016


Thank you

Regards
Gianluigi

2016-07-11 18:14 GMT+02:00 Benoît Minisini <gambas at ...1...>:

> 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
>
>
> ------------------------------------------------------------------------------
> Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
> Francisco, CA to explore cutting-edge tech and listen to tech luminaries
> present their vision of the future. This family event has something for
> everyone, including kids. Get more information and register today.
> http://sdm.link/attshape
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



More information about the User mailing list