[Gambas-user] [SOLVED] Re: Sudden loss of mouse data

Charlie Ogier charlie at cogier.com
Wed Aug 5 16:56:17 CEST 2020


Thanks Christof. I had not seen that update. Problem solved.

On 05/08/2020 15:51, Christof Thalhofer wrote:
> Am 05.08.20 um 15:36 schrieb Charlie Ogier:
>
>> Public Sub GridView1_Click()
>>
>>     If Mouse.Left Then  'Crashes here
>>       Print "Left"
>>     Else
>>       Print "No"
>>     End If
>>
>> End
> 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'.
>
> Alles Gute
>
> Christof Thalhofer
>
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----

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


More information about the User mailing list