Re: Bug#364787: pgadmin3: pressing delete key on

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: "Edward Di Geronimo Jr(dot)" <edigeronimo(at)xtracards(dot)com>, <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: Bug#364787: pgadmin3: pressing delete key on
Date: 2006-05-15 14:43:12
Message-ID: E7F85A1B5FF8D44C8A1AF6885BC9A0E4013881B4@ratbert.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

> -----Original Message-----
> From: pgadmin-hackers-owner(at)postgresql(dot)org
> [mailto:pgadmin-hackers-owner(at)postgresql(dot)org] On Behalf Of
> Edward Di Geronimo Jr.
> Sent: 15 May 2006 15:09
> To: pgadmin-hackers(at)postgresql(dot)org
> Subject: Re: [pgadmin-hackers] Bug#364787: pgadmin3: pressing
> delete key on
>
> Quoting Dave Page <dpage(at)vale-housing(dot)co(dot)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

Browse pgadmin-hackers by date

  From Date Subject
Next Message svn 2006-05-15 15:25:21 SVN Commit by dpage: r5155 - in trunk/pgadmin3: . src/frm src/main
Previous Message Dave Page 2006-05-15 14:42:11 Re: VC++ Express Issues