Copy link to clipboard
Copied
Hi All,
I have a edittext, sometimes I want to copy some text into this edittext, but when i enter ctrl+v, the text is paste into the document textframe. How can i solve this?
Thanks!!!
//--------------------
#targetengine "session";
var w = new Window ("palette");
var et=w.add ("edittext");
et.size=[200,20];
w.show();
//--------------------
Copy link to clipboard
Copied
Hi, try this.
add line before show the window.
....
et.active = true;
w.show();
this works for me (OSX 10.6 + ID CS4)
thank you
mg.
Copy link to clipboard
Copied
Thank you! I test it, still have same problem.
my system: win xp + cs4
Copy link to clipboard
Copied
I need help please
Copy link to clipboard
Copied
Maybe you need:
#targetengine "session";
var w = new Window ("palette");
var et=w.add ("edittext");
et.size=[200,20];
w.onShow = function()
{
w.active = true;
et.active = true;
};
w.show();
@+
Marc
Copy link to clipboard
Copied
Thank you!
same problem.
Copy link to clipboard
Copied
This is a known problem: you can't use Ctrl+V to paste text into edittext controls. But this works: right-click, then pick Paste from the context menu.
Peter