Mike, Take a look at the GridHitTest() method. Dave
-----Original Message----- From: ProFox [mailto:[email protected]] On Behalf Of [email protected] Sent: Friday, December 4, 2015 10:46 PM To: ProFox Email List <[email protected]> Subject: Re: Right-clicking a grid...how do you determine what Column you're in? On 2015-12-04 15:11, [email protected] wrote: > On 2015-12-04 15:03, [email protected] wrote: >> VFP9SP2 >> >> Want to allow user to right-click the grid and ask him if he wants >> the other rows in that grid to have the same value as the one on >> which he's right-clicked. I initially thought RolColChange, but he's >> not changing row/col per say. Maybe call RowColChange from right-click? >> Just a wag. Maybe somebody's got a better tip. > > > Disregard. I see grid.ActiveRow and grid.ActiveColumn now. Doh! Turns out that did nothing for me, probably because the debugger took focus away from the grid. Oh well. I've got a different direction, passing the column to the routine that handles what I wanted to do. [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.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.

