[Gambas-user] Sudden loss of mouse data

Gianluigi bagonergi at gmail.com
Wed Aug 5 16:56:35 CEST 2020


Il giorno mer 5 ago 2020 alle ore 16:52 Christof Thalhofer <
chrisml at deganius.de> ha scritto:

> Am 05.08.20 um 15:36 schrieb Charlie Ogier:
>
> > Public Sub GridView1_Click()
> >
> >    If Mouse.Left Then  'Crashes here
>
> As Benoît said, since 3.15 the 'Mouse' class is only avaiable in the
> 'Mouse*' event.
>
> So use the 'MouseUp' event instead of '*_Click'.
>

👍

I with the master I get:
"no mouse event data in FMain: 34"

But if I move the code in "Public Sub GridView1_MouseDown()" it works
correctly.

Regards
Gianluigi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20200805/84b80715/attachment.html>


More information about the User mailing list