View Issue Details

IDProjectCategoryView StatusLast Update
0003067JEDI VCL00 JVCL Componentspublic2006-03-31 06:30
ReporteranonymousAssigned Toobones 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version 
Target VersionFixed in Version3.30 
Summary0003067: Cannot paste RTF text after TjvRichEdit.clear
Description1)Put a JvRichEdit on a form with PlainText property False and put some text in. Also, put a TButton with OnClick event "JvRichEdit1.clear;".

2) Copy some text in the JvRichEdit.

3)Push the button to clear text.

4)Try paste to the JvRichEdit using CTRL+V or PasteFromClipboard or paste menu, won't work.
TagsNo tags attached.

Activities

outchy

2005-07-19 12:53

administrator   ~0007568

I can't reproduce this:

I have a form with a TJvRichEdit and a TButton.
I push the button to clear text: OK
I set the focus back to the TJvRichEdit and press CTRL+V: OK

You should give us more details about your system, your version of the JVCL (if you use a daily build, the version of JvRichEdit.pas will be usefull).

anonymous

2005-07-20 02:38

viewer   ~0007580

Last edited: 2005-08-02 06:25

lu_ ?
Hmm, then maybe this is because I'm using Japanese Windows XP?

I can't paste RTF text to JvRichEdit on Japanese Windows XP SP2,
Windows 2000 and Windows 98 after TJvRichEdit.Clear.
I tried TJvRichEdit Revision 1.69-1.72. They all didn't work.
If I set PlainText to True, everything works fine.

I have a form with a TJvRichEdit and a TButton.
I type in some text (Japanese or alphabet, doesn't matter).
I select some text in TJvRichEdit and copy it (CTRL+C).
I push the button to clear the TJvRichEdit : OK
I set the focus back to the TJvRichEdit and press CTRL+V : NG
nothing happens.
(But I can paste it to WordPad.)

And I noticed somehow I can paste if I paste once
(or as many as you want) before TJvRichEdit.Clear.

I have a form with a TJvRichEdit and a TButton.
I type in some text.
I select some text in TJvRichEdit and copy it (CTRL+C).
I paste the text (CTRL+V) (don't clear the text) : OK
I push the button to clear the TJvRichEdit : OK
I paste it again : OK!

Sorry for my bad English.

outchy

2005-07-20 04:51

administrator   ~0007581

A lot of stuff is done in the Borland's vcl to deal with standard controls.

What version of Delphi/BCB are you using ?
If you use the right click of the mouse to drop down the context menu of the TJvRichEdit, what is the state of the "paste" item ?

remkobonte

2005-07-21 14:30

developer   ~0007590

Could you upload the dfm file of the main form of your test application. You can upload it to this bug report.

obones

2006-03-31 06:30

administrator   ~0008795

No answers, considering the issue to be fixed.

Issue History

Date Modified Username Field Change
2005-06-30 18:46 anonymous New Issue
2005-07-19 12:53 outchy Note Added: 0007568
2005-07-20 02:38 anonymous Note Added: 0007580
2005-07-20 04:51 outchy Note Added: 0007581
2005-07-21 14:30 remkobonte Note Added: 0007590
2005-07-21 14:30 remkobonte Status new => feedback
2005-08-02 06:25 anonymous Note Edited: 0007580
2006-03-31 06:30 obones Status feedback => resolved
2006-03-31 06:30 obones Resolution open => fixed
2006-03-31 06:30 obones Assigned To => obones
2006-03-31 06:30 obones Note Added: 0008795