Re: VFP6: Silly Grid Question

Author: Desmond Lloyd

Posted: 2014-05-05 at 15:43:09

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 <sytze.kiss@gmail.com> 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 <jerryf@footegroup.com> wrote:

>

> > Check AllowCellSelection.

> > Jerry

> >

> > -----Original Message-----

> > From: ProFox [mailto:profox-bounces@leafe.com] 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: ProFox@leafe.com

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/CAAJXvaN_JU2YUKLitAw7Vw4JcgHy3HG98g2fMWTbKCm+8_fHZA@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.

©2014 Desmond Lloyd