[Gambas-user] GB.WEB.GUI get value of the mouse

Benoît Minisini benoit.minisini at gambas-basic.org
Wed Oct 4 21:44:23 CEST 2023


Le 02/10/2023 à 12:20, Mayost Sharon a écrit :
> Hello
> 
> Is it possible to get values on the mouse state when I use GB.WEB.GUI
> 
> I tried for example like this:
> Export
> 
> Public Sub WebButton1_Click()
> 
>     WebLabel1.Text = Mouse.X
> 
> End
> 
> It gives an error
> 
> Thanks
> 
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----

The only way to get cursor coordinates is using a WebDrawingArea and its 
mouse events.

Regards,

-- 
Benoît Minisini.



More information about the User mailing list