Page 1 of 1

Text Field Copy & Paste

Posted: Fri Aug 21, 2020 4:20 am
by cookietran
Does anyone have a workaround for Copy & Paste in text fields? I'm not using a native UI control as my text fields have to accommodate several lines of text and the native control is single line only?

Thanks

Re: Text Field Copy & Paste

Posted: Fri Aug 21, 2020 12:44 pm
by Klaus
Hi cookietrain,

welcome to the forum!
Does anyone have a workaround for Copy & Paste in text fields?
Nope this is only possible with native input fields!
But what about:

Code: Select all

...
mobilecontrolcreate "multiline", "lotsatext"
...
? 8)


Best

Klaus

Re: Text Field Copy & Paste

Posted: Fri Aug 21, 2020 5:42 pm
by jmburnod
sorry if i misunderstood but we can use copy paste with flds from a menu.
I have an edition menu with a customprop which store text copied. If this custom prop <> empty then item paste is black and I can paste content of customprop in target fld. Don't forget to set customprop to empty after paste :D
Kind regards
Jean-Marc

Re: Text Field Copy & Paste

Posted: Fri Aug 21, 2020 9:32 pm
by Klaus
So you are faking copy/paste on iOS?
Very clever, monsieur! :-)

Re: Text Field Copy & Paste

Posted: Fri Aug 21, 2020 10:54 pm
by jmburnod
So you are faking copy/paste on iOS?
Yes Sir. I didnt know that was impossible then i did it. :D