1. Mickey Hillel
  2. PowerBuilder
  3. Tuesday, 29 June 2021 06:33 AM UTC

Hi,

I've come across a problem when using the Paste command.

The Paste actually works fine, but the return code is -1.

To recreate:

Sample window, RichText control, CB with paste function to the RT control.

Copy an image from Snipping Tool.

Paste the image using the CB paste.

The image is pasted, but the return code is -1.

 

 

TIA

Mickey Hillel

 

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 30 June 2021 19:16 PM UTC
  2. PowerBuilder
  3. # 1

Hi Mickey;

  Thank you for the Test Case! I was able to replicate the same issue where the RC was "-1" ...

  Please open a Support Ticket for this issue and also attach your test case to that ticket.

Many thanks in advance!

Regards ... Chris

Comment
  1. Miguel Leeuwe
  2. Friday, 2 July 2021 06:42 AM UTC
Just a FYI:

So buggy! If this is v28.0 of the text control, try saving the contents as HTML. You'll get an image link in the html to a non existing file! If you used the "snip & sketch" tool though, things will work...

https://www.appeon.com/standardsupport/track/view?id=5954

regards.
  1. Helpful
There are no comments made yet.
Mickey Hillel Accepted Answer Pending Moderation
  1. Wednesday, 30 June 2021 08:59 AM UTC
  2. PowerBuilder
  3. # 2

Hi Chris,

Thanks for your reply.

1. PB2019 R3 2703

2. Win 10

3. Both

4. RTE control , standard PB 

 

Attached is an pbl of window displaying the issue, also the .exe

Basically just a window with a Paste function to RTE control.

 

Mickey

 

Attachments (1)
Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 29 June 2021 15:38 PM UTC
  2. PowerBuilder
  3. # 3

Hi Mickey;

  Can you tell us ...

  1. PB version & build?
  2. Windows O/S version
  3. Does this happen when run from the IDE, an EXE, or both?
  4. What 3rd party RichText "helper" are you using (ie: TE vs TX control)?
  5. If this is an EXE problem ... P-Code or M-Code compile - 32 or 64bit compile?

Regards ... Chris

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.