[Gambas-user] Translation of mouse static method "Translate"
Benoît Minisini
g4mba5 at gmail.com
Tue Feb 4 09:42:20 CET 2020
Le 02/02/2020 à 18:23, Gianluigi a écrit :
> I am having difficulty translating into Italian qt4 mouse static method
> "Translate" (*)
> I can't understand if for example this code:
>
> Public Sub Form_MouseUp()
>
> Button1.Visible = True
> Mouse.Translate(100, 100)
> Button1.X = Mouse.X
> Button1.Y = Mouse.Y
>
> End
>
> It is the same as:
>
> Public Sub Form_MouseUp()
>
> Button1.Visible = True
> Button1.X = Mouse.X + 100
> Button1.Y = Mouse.Y + 100
>
> End
>
> otherwise?
>
> (*) http://gambaswiki.org/wiki/comp/gb.qt4/mouse
>
> Regards
> Gianluigi
>
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
Yes.
--
Benoît Minisini
More information about the User
mailing list