2009/11/28 Benoît Minisini <[email protected]>:

> If you really need to know where is the mouse (but why?), you can use the
> Mouse.ScreenX and Mouse.ScreenY properties.

Meh. I'm a Windows developer of many years who's given up on M$ so I
have assumptions about GUI programming that are extremely hard to lose
:)

I have  two gridviews on two different forms. When the user right
clicks on one gridview row on the main form I want to pop the other
form and gridview right where they clicked.

> On X11, knowing where the mouse is may be expensive, when there is Internet
> between the mouse and the process receiving the events. So you get them when
> you have real mouse events only. Otherwise you must explicitely ask the X11
> server for them: that is done by the Mouse.ScreenX / Mouse.ScreenY properties.

I should be able to live with control-relative coordinates.

------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to