Al, If I remember, nRelRow_Out and nRelCol_Out give you the relative row/column of where the mouse is over the grid. I use these in DRAG/DROp ops to decide wher the dropped data goes.
Don't have a VFP setup here at the moment or I'd check. Dave -----Original Message----- From: ProFox [mailto:[email protected]] On Behalf Of [email protected] Sent: 02 October 2012 11:23 To: Profox Subject: VFP9 gridhittest Hi guys. Have a little issue with grids. I have a couple of them on pages of a pageframe. They start out as just grids with no columns and the columns are created by VFP when I set the controlsource to the grid. This is because I do not know at dev stage how many columns there will be. All is ok and it shows nice and I have dynamicbackcolor and all that. But now I want to change a value in the grid with a click. I tries gridhittest but it only seems to fire(I have it going to debugout) in the grid and not the columns/rows. First time I've used gridhittest so I'm not used to it. Any clues please Al [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
