[Gambas-user] No mouse event data??

Benoît Minisini g4mba5 at gmail.com
Mon Jun 1 12:04:34 CEST 2020


Le 30/05/2020 à 23:44, Jussi Lahtinen a écrit :
> Is this bug in Gambas or has something changed?
> Run the attached project, click on the alarm on the main form.
> 
> 
> Jussi
> 
> 
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
> 

The bug is yours: you use Mouse class properties inside a Click event 
handler. Mouse class properties are guaranteed to be available only 
inside Mouse event handlers.

You were lucky because Mouse data were available inside GridView click 
events, but this is not the case anymore.

Regards,

-- 
Benoît Minisini


More information about the User mailing list