Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous message
hojtsy is currently offline  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
 
Read Message
Read Message
Read Message
Previous Topic: BUG: DocEdit: undo/redo works on ReadOnly DocEdit
Next Topic: DropList bug when compiling with SPEED option
Goto Forum:
  


Current Time: Fri Apr 19 12:05:16 CEST 2024

Total time taken to generate the page: 0.02949 seconds