Re: Paste rows patch - Mailing list pgadmin-hackers

From Edward Di Geronimo Jr.
Subject Re: Paste rows patch
Date
Msg-id 20060509100005.s76s1ytfm9css44s@webmail.picoip.com
Whole thread Raw
In response to Re: Paste rows patch  ("Dave Page" <dpage@vale-housing.co.uk>)
List pgadmin-hackers
Quoting Dave Page <dpage@vale-housing.co.uk>:

> It's looking much better, however, I still think that if the cursor is
> actually active in a cell then the paste should go to that cell, and
> only in other cases to the new row. On Windows, the only way to do that
> is ctrl-v or right-click->paste. The paste button and ctrl-v should
> always do the same thing (though I wonder if that's an issue with
> Windows doing the actual paste operation in the ctrl-v case) imo.

I forgot about that issue. I think you're right, however, I don't
really know how to solve it. I think the solution is to detect if the
cursor is in an edit box, and call the edit box's Paste function if
so, however, I'm not sure how to tell if we're in an edit box or not.

Ed

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



pgadmin-hackers by date:

Previous
From: "Dave Page"
Date:
Subject: Re: Paste rows patch
Next
From: svn@pgadmin.org
Date:
Subject: SVN Commit by dpage: r5138 - in trunk/pgadmin3: . pkg/src pkg/win32/src src src/agent src/dlg src/include src/utils xtra/pgagent xtra/pgagent/pgaevent