[Gambas-user] Ok, I'm stumped
Kadaitcha Man
nospam.nospam.nospam at ...626...
Sat Nov 28 03:34:19 CET 2009
2009/11/28 Fabien Bodard <gambas.fr at ...626...>:
> so the answer is :
>
> private $MX as Integer
> Private $MY as integer
>
>
> Public sub gvOption_MouseDown
> $MX = mouse.x
> $MY=Mouse.Y
> END
>
> Public sub gvOption_Menu()
>
> MyForm.Move($Mx, $My)
>
> END
>
>
> Be carefull as Mouse.X is container relative...
Ok, I'll give that a shot later in the day I was having the problem in
gambas3 but I've gone back to g2.
Many thanks for the help.
More information about the User
mailing list