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 previous message
koldo is currently offline  koldo
Messages: 3355
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
 
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: Thu Mar 28 16:27:19 CET 2024

Total time taken to generate the page: 0.01581 seconds