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 |
|
koldo
Messages: 3358 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
|
|
|
|
|
Goto Forum:
Current Time: Mon Apr 29 08:35:02 CEST 2024
Total time taken to generate the page: 0.02196 seconds
|