2009/11/28 Fabien Bodard <gambas...@gmail.com>:
> 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.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to