1. Bjarne Anker
  2. PowerBuilder
  3. Friday, 2 October 2020 12:51 PM UTC

Hi.

 

We have a singleline edit for searching texts and such in one of our forms.

I can paste text into it when I first run the program, and take action on the modified event when Enter is pressed.

But if I go into the edit and do another CTRL-V to paste text one more time, the text on my clipboard is not pasted into the edit.

I've tried with both the SingleLineEdit control built into PB and u_sle from PFC - same story.

I have also debugged the GetFocus() event and verified that the text is still in the clipboard using:

ls_text = ClipBoard()

 

Is this a known issue for a SingleLineEdit? 

Is there any property to set or any other workaround to be done?

 

Using a Datawindow is really not an option here.

 

Regards,

 

Bjarne Anker

Maritech 

Norway

Accepted Answer
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Friday, 2 October 2020 13:36 PM UTC
  2. PowerBuilder
  3. # Permalink

Hi Bjarne;

  No, this is not a known issue with any Appeon PB release.

Check to make sure that no menu item (even a hidden one) is assigned to the CTRL+V short-cut as it will block any control from performing that behaviour. Also check to make sure that the SLE or its parent does not have a low level key event mapped to it either as that could also alter the CTRL+V behaviour.

HTH

Regards ... Chris

Comment
There are no comments made yet.
Bjarne Anker Accepted Answer Pending Moderation
  1. Friday, 2 October 2020 19:25 PM UTC
  2. PowerBuilder
  3. # 1

Chris,

 

Yes, there is something fishy going on in the popup form which displays the searchresults.

When I comment out the opening of this form, I can paste as much text as I like.

So I will investigate further over the weekend.

 

Thanks for the input!

 

br,

Bjarne

Comment
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.