View Issue Details

IDProjectCategoryView StatusLast Update
0002164JEDI VCL00 JVCL Componentspublic2004-10-05 11:46
ReporteranonymousAssigned Touser72 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.00 BETA 
Target VersionFixed in Version3.00 RC 1 
Summary0002164: CopyToClipboard on RichEdit doesn't work
DescriptionPut a JvRichEdit on a form, put some text in, use the CopyToClipboard function and try to past the text, it won't work. If you try the same on the standard combobox it does work.
TagsNo tags attached.

Relationships

related to 0002142 resolvedobones FClipboardCommands not set in JvExMask.pas 
related to 0002177 resolvedremkobonte TJvComboEdit - does not process clipboard commands 

Activities

anonymous

2004-09-22 00:29

viewer   ~0005243

Excuse me, that should be memobox, not combobox.

remkobonte

2004-09-22 11:42

developer   ~0005244

This is because FClipboardCommands is not set to its default value in the constructor of TJvExCustomMemo.

anonymous

2004-09-22 11:55

viewer   ~0005245

Also the methods ClearSelection, CutToClipboard, PasteFromClipboard, Undo and Redo do not work with 3.00 BETA 2

(Tested with Delphi 7.1 Prof. on WinXP SP2)

user72

2004-09-23 04:46

  ~0005249

I was going to suggest a temporary fix: set ClipboardCommands in code in the forms constructor, i.e:

procedure TForm1.FormCreate()
begin
  JvRichEdit1.ClipboardCommands := [caCopy, caCut, caPaste, caUndo]
end;

But I now see that ClipboardCommands is not published in JvRichEdit, so maybe that is a new bug report?

obones

2004-09-30 23:09

administrator   ~0005276

Fred has provided a fix for this bug, it is in CVS. Please try it and let us know it goes.

remkobonte

2004-10-03 15:14

developer   ~0005284

Works for me :)

ClipboardCommands should be published IMO.

user72

2004-10-04 05:24

  ~0005289

> ClipboardCommands should be published IMO.
I am thinking protected in JvCustomXXX but definitely published in JvRichEdit, JvMemo, JvEdit etc.

remkobonte

2004-10-04 11:43

developer   ~0005295

Yeah, that is what I meant <g>

user72

2004-10-05 11:46

  ~0005321

published ClipboardCommands + set default value in constructor

Issue History

Date Modified Username Field Change
2004-09-22 00:27 anonymous New Issue
2004-09-22 00:29 anonymous Note Added: 0005243
2004-09-22 11:40 remkobonte Relationship added related to 0002142
2004-09-22 11:42 remkobonte Note Added: 0005244
2004-09-22 11:55 anonymous Note Added: 0005245
2004-09-23 04:46 user72 Note Added: 0005249
2004-09-25 00:58 user72 Status new => feedback
2004-09-27 10:19 user72 Relationship added related to 0002177
2004-09-30 23:09 obones Note Added: 0005276
2004-10-03 15:14 remkobonte Note Added: 0005284
2004-10-04 05:24 user72 Note Added: 0005289
2004-10-04 11:43 remkobonte Note Added: 0005295
2004-10-05 11:46 user72 Status feedback => resolved
2004-10-05 11:46 user72 Resolution open => fixed
2004-10-05 11:46 user72 Assigned To => user72
2004-10-05 11:46 user72 Note Added: 0005321