View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004135 | JEDI VCL | 00 JVCL Components | public | 2007-05-18 14:31 | 2008-07-23 07:26 |
Reporter | aml1005 | Assigned To | remkobonte | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | won't fix | ||
Product Version | Daily / GIT | ||||
Target Version | Fixed in Version | ||||
Summary | 0004135: TJvRichEdit ClipboardCommands don't work | ||||
Description | Setting ClipboardCommands has no effect (i.e. can still paste with caPaste=false). I think this is because WndProc is not sent WM_Paste in rich edit controls. Instead has to be implemented via callback QueryAcceptData. | ||||
Tags | No tags attached. | ||||
|
Can you provide the zipped sources of a sample application showing this, along with a suggested implementation for QueryAcceptData? |
|
I don't have a sample but I think it will happen with any rich edit control in any application. Sorry I don't have time to investigate in detail at the moment. I think you just do "if xxxx then Result:=S_FALSE" in QueryAcceptData. (Would also be very nice to have an OnQueryAccept event to easily control this in more detail - e.g. to allow pasting only certain formats, etc) Some QueryAcceptData examples at e.g. http://groups.google.co.uk/group/microsoft.public.vc.mfc/browse_thread/thread/f47a747d830d31a6/788e923cfb48cd98?lnk=st&q=QueryAcceptData+allow+paste&rnum=1&hl=en#788e923cfb48cd98 |
|
If it happens with any RichEdit, then it's not fixable. |
|
Sorry, I meant any TJvRichEdit control in any Delphi application - it is not a generic windows richedit bug. I think it is fixable - just need to change the way it is implemented, as per my suggestion of 06-20-07. Thanks. |
|
We needed a sample application |
Date Modified | Username | Field | Change |
---|---|---|---|
2007-05-18 14:31 | aml1005 | New Issue | |
2007-06-20 02:21 | obones | Note Added: 0013483 | |
2007-06-20 02:21 | obones | Status | new => feedback |
2007-06-20 15:11 | aml1005 | Note Added: 0013504 | |
2007-08-08 16:40 | remkobonte | Status | feedback => assigned |
2007-08-08 16:40 | remkobonte | Assigned To | => remkobonte |
2007-10-12 07:25 | obones | Status | assigned => resolved |
2007-10-12 07:25 | obones | Resolution | open => not fixable |
2007-10-12 07:25 | obones | Note Added: 0013927 | |
2007-10-12 11:24 | aml1005 | Status | resolved => feedback |
2007-10-12 11:24 | aml1005 | Resolution | not fixable => reopened |
2007-10-12 11:24 | aml1005 | Note Added: 0013952 | |
2008-07-23 07:25 | obones | Status | feedback => resolved |
2008-07-23 07:25 | obones | Resolution | reopened => won't fix |
2008-07-23 07:25 | obones | Note Added: 0014444 |