Skip site navigation (1) Skip section navigation (2)

Re: Paste rows patch

From: "Edward Di Geronimo Jr(dot)" <edigeronimo(at)xtracards(dot)com>
To: pgadmin-hackers(at)postgresql(dot)org
Subject: Re: Paste rows patch
Date: 2006-05-09 14:00:05
Message-ID: 20060509100005.s76s1ytfm9css44s@webmail.picoip.com (view raw or flat)
Thread:
Lists: pgadmin-hackers
Quoting Dave Page <dpage(at)vale-housing(dot)co(dot)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.



In response to

pgadmin-hackers by date

Next:From: svnDate: 2006-05-09 14:43:04
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
Previous:From: Dave PageDate: 2006-05-09 12:35:38
Subject: Re: Paste rows patch

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group