Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Karl Hofer
  Where is Karl Hofer?
 Klagenfurt
 Austria
 Karl Hofer
 To: Koen Piller
  Where is Koen Piller?
 Santpoort-Zuid
 Netherlands
 Koen Piller
 Tags
Subject: RE: RelativeRow - Is there an AbsoluteRow?
Thread ID: 228362 Message ID: 228368 # Views: 2 # Ratings: 0
Version: Visual FoxPro 9 Category: General VFP Topics
Date: Monday, May 18, 2009 4:04:27 PM         
   


> > Hi!
> >
> > I am trying to find out over which row of a grid my mouse cursor is hovering.
> > I use GridHitTest in MouseMove()
> > .grid.GridHitTest(nXCoord,nYCoord,@lnWhere,@lnRelRow,@lnRelCol)
> >
> > With this i get the relative row. How can i find out the absolute row number?
> >
> > You might ask what i need this for...
> > I want to implement some kind of tool tip for the the whole row.
> > Like showing a window with information about the entry in the row when hovering the mouse over the grid.
> > Maybe there is a better way to implement this?
> >
> > Thanks, Karl
>
> Hi Karl,
>
> Maybe if you try to make use of the recno() can't you could attach your tooltip to that?
>
> Regards,
>
> Koen

Yea, but i don't even know how to get the recno() of the entry under my mouse pointer as i am not clicking on it. Not clicking is the problem. But you are right, basically i am trying to find out the recno() of the entry under my mouse pointer.

ENTIRE THREAD

RelativeRow - Is there an AbsoluteRow? Posted by Karl Hofer @ 5/18/2009 2:36:27 PM
RE: RelativeRow - Is there an AbsoluteRow? Posted by Koen Piller @ 5/18/2009 3:01:07 PM
RE: RelativeRow - Is there an AbsoluteRow? Posted by Karl Hofer @ 5/18/2009 4:04:27 PM
RE: RelativeRow - Is there an AbsoluteRow? Posted by Stefan Wuebbe @ 5/18/2009 4:12:24 PM
RE: RelativeRow - Is there an AbsoluteRow? Posted by Karl Hofer @ 5/18/2009 5:09:51 PM
RE: RelativeRow - Is there an AbsoluteRow? Posted by Cetin Basoz @ 5/18/2009 4:57:06 PM
RE: RelativeRow - Is there an AbsoluteRow? Posted by Karl Hofer @ 5/18/2009 5:20:36 PM
RE: RelativeRow - Is there an AbsoluteRow? Posted by Cetin Basoz @ 5/18/2009 5:24:23 PM
RE: RelativeRow - Is there an AbsoluteRow? Posted by Karl Hofer @ 5/18/2009 5:42:34 PM
RE: RelativeRow - Is there an AbsoluteRow? Posted by Joseph Agarpao @ 5/19/2009 10:18:47 AM