Recent

Author Topic: TMemo and paste from clipboard  (Read 301 times)

skydaddy

  • Newbie
  • Posts: 2
TMemo and paste from clipboard
« on: September 11, 2024, 11:20:30 pm »
How do I intercept a past text from clipboard to TMemo so I can filter the text?

ASerge

  • Hero Member
  • *****
  • Posts: 2321
Re: TMemo and paste from clipboard
« Reply #1 on: September 12, 2024, 12:45:05 am »
How do I intercept a past text from clipboard to TMemo so I can filter the text?
Platform?

Aruna

  • Sr. Member
  • ****
  • Posts: 457
Re: TMemo and paste from clipboard
« Reply #2 on: September 12, 2024, 05:58:24 am »
How do I intercept a past text from clipboard to TMemo so I can filter the text?
I have attached a zip file containing a working example. The screenshot will give you an idea. Hope this will help.
EDIT: Tested on linux works your milage may vary under Windows:-) Should work..
« Last Edit: September 12, 2024, 06:02:45 am by Aruna »
Debian GNU/Linux 11 (bullseye)
https://pascal.chat/

 

TinyPortal © 2005-2018