Home » U++ Library support » LineEdit, EditFields, DocEdit » Copy from a readonly EditField
Copy from a readonly EditField [message #26334] |
Mon, 26 April 2010 00:20  |
hojtsy
Messages: 241 Registered: January 2006 Location: Budapest, Hungary
|
Experienced Member |
|
|
Hi,
I would like to copy the selected text from a read-only EditField to the clipboard. The current keyboard handling routine only allows copy from an editable EditField.
Please add the below lines to EditField::Key(dword key, int rep), before the points where it returns if the field is non-editable (line 828 in my version):
case K_CTRL_C:
case K_CTRL_INSERT:
Copy();
return true;
Thanks,
Sandor
|
|
|
Goto Forum:
Current Time: Mon Apr 28 14:39:34 CEST 2025
Total time taken to generate the page: 0.00985 seconds
|