1. Jim Means
  2. PowerBuilder
  3. Friday, 5 April 2019 23:42 PM UTC

Hey guys,

I've got a nagging little issue that's drivin' me nuts! PB2017 R2 Build 1769

Created a little window with only a single line edit field in it.  I'm not diving into what I'm using it for. It is what it is.

The issue is that I can't paste into the field using Ctrl+V, the most popular method these days.  If I click Edit and choose the Paste there, no soap.  However, I CAN paste using the old fashioned Shift+Insert or right clicking in the field and choosing Paste.
Don't have this problem with other windows.

What am I missing here?

Thanks loads,Jim

 

Accepted Answer
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Saturday, 6 April 2019 01:06 AM UTC
  2. PowerBuilder
  3. # Permalink

Hi Jim;

  Not supporting the CTRL+V is unlike normal PB behaviour. The only ways that could be blocking this standard O/S behaviour is ...

1) Code on the OTHER event that is blocking this keyboard combination. 

2) Control mapped to a Message ID like KeyUp, KeyDown, etc that is suppressing the key strokes.

3) Parent Window stealing key events. 

4) Window MENU has a menu item mapped to CTRL+V.

HTH

Regards ... Chris

Comment
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Thursday, 17 October 2019 18:37 PM UTC
  2. PowerBuilder
  3. # 1

This is usually caused by setting CTRL-V as the shortcut of a menu item.

Comment
There are no comments made yet.
Jerry Kimmel Accepted Answer Pending Moderation
  1. Thursday, 17 October 2019 15:59 PM UTC
  2. PowerBuilder
  3. # 2

I had the exact same problem, and I have finally identified the issue!

Look to see if there is an Edit menu item with Cut, Copy, Paste (CTRL-V) not visible and/or not enabled. 

I had to enable PASTE in the menu. And then I had another object stealing focus.

 

Thanks Chris!

Comment
  1. Chris Pollach @Appeon
  2. Thursday, 17 October 2019 16:33 PM UTC
Hi Jerry ... I am super glad that you found & fixed your paste issue! :-)
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.