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
Ctrl-C and read only EditString [message #26245] Sat, 17 April 2010 00:53 Go to next message
koldo is currently offline  koldo
Messages: 3268
Registered: August 2008
Senior Veteran
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".


Best regards
Iñaki
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 next message
mirek is currently offline  mirek
Messages: 13442
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
Re: Ctrl-C and read only EditString [message #26251 is a reply to message #26250] Sun, 18 April 2010 14:45 Go to previous message
koldo is currently offline  koldo
Messages: 3268
Registered: August 2008
Senior Veteran
Thank you

Best regards
Iñaki
Previous Topic: WithDropChoice Serialization?
Next Topic: Dead chars not handled correctly on non-English keyboards
Goto Forum:
  


Current Time: Sat Oct 23 15:56:28 CEST 2021

Total time taken to generate the page: 0.01131 seconds