Re: Bug#364787: pgadmin3: pressing delete key on - Mailing list pgadmin-hackers

From Dave Page
Subject Re: Bug#364787: pgadmin3: pressing delete key on
Date
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E4013881B4@ratbert.vale-housing.co.uk
Whole thread Raw
List pgadmin-hackers

> -----Original Message-----
> From: pgadmin-hackers-owner@postgresql.org
> [mailto:pgadmin-hackers-owner@postgresql.org] On Behalf Of
> Edward Di Geronimo Jr.
> Sent: 15 May 2006 15:09
> To: pgadmin-hackers@postgresql.org
> Subject: Re: [pgadmin-hackers] Bug#364787: pgadmin3: pressing
> delete key on
>
> Quoting Dave Page <dpage@vale-housing.co.uk>:
>
> > I'm sure that was working, but I grant you it's not now. I'm not
> > sure how to make it work now though - what appears to be
> happening
> > is that the individual cell is capturing the delete event
> and using
> > it to delete the contents rather than the selected row.
> >
> > Ed ran into a similar problem recently - I wonder if he has
> any ideas?
>
> Looking at the code, there are two handlers for the Delete key.
> OnDelete, which tries to delete a row, and OnKey, which just
> deletes the current cell. It looks like the two handlers need
> to be merged into one.

Bah, how the heck did I miss OnKey()!!! OK, fixed for 1.6.0 now.

Thanks Ed.

/D

pgadmin-hackers by date:

Previous
From: "Dave Page"
Date:
Subject: Re: VC++ Express Issues
Next
From: svn@pgadmin.org
Date:
Subject: SVN Commit by dpage: r5155 - in trunk/pgadmin3: . src/frm src/main