Am Freitag, den 27.11.2009, 22:20 +1100 schrieb [email protected]: > Charlie Reinl wrote: > > Am Freitag, den 27.11.2009, 19:27 +1100 schrieb > > [email protected]: > >> Gambas3 > >> > >> I have a GridView named gvOptions, and this code: > >> > >> Public Sub gvOptions_Menu() > >> > >> Debug Mouse.X > >> Debug Mouse.Y > >> > >> End > >> > >> 1) Both Mouse.X and Mouse.Y tell me "no mouse event data" > >> > >> I need to capture the mouse position to pop up a window. How do > >> I do that in g3? > >> > >> 2) Where is the main body of documentation for Gambas3? > >> > >> I will update it as I go on my journey of learning. > >> > > > > Salut nospam, > > > > http://gambasdoc.org/help > > Yes, well... > > http://gambasdoc.org/help/comp/gb.qt/mouse/y?v3 > STATIC PROPERTY READ Y AS Integer > Returns the relative vertical position of the cursor of a mouse event. > > http://gambasdoc.org/help/comp/gb.qt/mouse/y > STATIC PROPERTY READ Y AS Integer > Returns the relative vertical position of the cursor of a mouse event. > > Very helpful, Charlie. Thank you. So, why do both Mouse.X and Mouse.Y tell > me "no mouse event data"?
Salut nospam, why do you need the mouse position ? You have pushed a right mouse button on an element who has a Menu event. Can you use Mouse.ScreenX / Mouse.ScreenY -- Amicalement Charlie ------------------------------------------------------------------------------ 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
