 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Ralf Guest
|
Posted: Fri Nov 28, 2003 4:33 pm Post subject: Detect Paste Event? |
|
|
Is it possible to detect a paste event for a Memo or RichEdit control? I
want to use this to modity the text to be pasted (remove CRs).
I realize that this could also be done in OnChange, but I need to check only
the Pasting (the rest WantReturns is taking care of).
|
|
| Back to top |
|
 |
Ignacio Vazquez Guest
|
Posted: Fri Nov 28, 2003 4:36 pm Post subject: Re: Detect Paste Event? |
|
|
"Ralf" <ralf@?tmx.de?> wrote in message 3fc778ef$1 (AT) newsgroups (DOT) borland.com...
| Quote: | Is it possible to detect a paste event for a Memo or RichEdit control? I
want to use this to modity the text to be pasted (remove CRs).
|
You'll need to write a descendant and handle WM_PASTE manually.
Cheers,
Ignacio
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|