I don't think you can do this in VFP6. You need BINDEVENT() which arrived (I think) in VFP8 .
Laurie On 5 May 2014 21:43, Desmond Lloyd <[email protected]> wrote: > Thank you, > > That's what I've got.... And it works, think it is cool to be able to > double click on the row you are at to display/edit the details for the > record selected..... > > > On 5 May 2014 15:17, Sytze de Boer <[email protected]> wrote: > > > What happens if you have a simple Command button (to do exactly the same > as > > a double click on the highlighted row) > > > > > > > > On Tue, May 6, 2014 at 8:14 AM, jerry foote <[email protected]> > wrote: > > > > > Check AllowCellSelection. > > > Jerry > > > > > > -----Original Message----- > > > From: ProFox [mailto:[email protected]] On Behalf Of Desmond > > Lloyd > > > Sent: Monday, May 05, 2014 2:40 PM > > > To: ProFox Email List > > > Subject: VFP6: Silly Grid Question > > > > > > OK, > > > > > > Defined a grid, data is not changed in the grid, display only. > Marked > > > the grid as read only, works fine, however I would like to have the > user > > > double click on a row and execute the click method of a button on the > > > form. (Display details) > > > > > > Put the code in the double click event and no joy. Changed grid from > > read > > > only and make the individual columns read only. Data is not > changeable, > > > have added the thisform.cmdedit.click() in various double click methods > > in > > > the text property, column and the grid, all to no avail... > > > > > > Is this possible in VFP6, read only data displayed, double click > > > somewhere and execute a button click? > > > > > > Regards, > > > Desmond > > > > > > > > > --- StripMime Report -- processed MIME parts --- > > > multipart/alternative > > > text/plain (text body -- kept) > > > text/html > > > --- > > > [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/camvtr9di+hnol7vnnvjglqy+1-yv2yk6zbnxryvonx2f-ru...@mail.gmail.com ** 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.

