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 » Ctrl-C and read only EditString
Re: Ctrl-C and read only EditString [message #26250 is a reply to message #26245] Sun, 18 April 2010 09:54 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
koldo wrote on Fri, 16 April 2010 18:53

Hello all

When using a read-only EditString field right button menu "Copy" works, however Ctrl-C does not work.

Test case:

include <CtrlLib/CtrlLib.h>

using namespace Upp;

GUI_APP_MAIN
{
	TopWindow  app;
	app.SetRect(0, 0, 200, 20);
	EditString text;
	text <<= "Try to copy this with Ctrl-C";
	text.SetReadOnly();
	app.Add(text.SizePos());
	app.Run();
}


In this example you will not copy the field with Ctrl-C, only with right button menu and choosing "Copy".


Thank you, fixed, will commit in the evening.

Mirek
 
Read Message
Read Message
Read Message
Previous Topic: WithDropChoice Serialization?
Next Topic: Dead chars not handled correctly on non-English keyboards
Goto Forum:
  


Current Time: Mon Apr 29 07:25:16 CEST 2024

Total time taken to generate the page: 0.02595 seconds