Page 1 of 1

TEdit - Ctrl+V paste?

Posted: 05 Sep 2011 15:31
by jgodfrey
I can't seem to paste text into a TEdit control via Ctrl+V, though the Paste context menu works correctly. Is this expected?

Jeff

Re: TEdit - Ctrl+V paste?

Posted: 05 Sep 2011 15:44
by pjj
As far as I can tell -- yes. Assign Ctrl+V to PasteAction in Environment > Customize keyboard... and that'll do the trick.

Re: TEdit - Ctrl+V paste?

Posted: 05 Sep 2011 15:50
by jgodfrey
Thanks, but Ctrl+V seems to be already properly wired within TextEd (just as you described) and it works fine within the editor. I just can't get it to work within a scripted TEdit control.

Jeff

Re: TEdit - Ctrl+V paste?

Posted: 05 Sep 2011 16:08
by pjj
Right. I can't help you then, I'm afraid :? (what are we talking about, after all? do you mean Script Editor?)

Re: TEdit - Ctrl+V paste?

Posted: 05 Sep 2011 16:47
by jgodfrey
pjj wrote:Right. I can't help you then, I'm afraid :? (what are we talking about, after all? do you mean Script Editor?)
No, I mean a script I *created* using the script editor. My script has a form that contains (among other things) several TEdit controls. I can't paste into those controls (when the script is running) using Ctrl+V, though I can use "Paste" from the context menu (that TEdit apparently(?) provides).

Thanks anyway.

Jeff