copy to clipboard

<< Click to Display Table of Contents >>

Navigation:  Forum >

copy to clipboard

Forum link

 


 

07-24-2020, 08:31 PM:

 

hello,

 

i have  TIWText  or IWMemo1 with some text inside

 

Have you any soluce for copy the text inside to the clipboard ?

 

Thank's a lot best regards

 


 

07-26-2020, 03:47 PM:

 

https://www.w3schools.com/howto/howto_js...pboard.asp

 


 

07-26-2020, 06:55 PM:

 

thank's

 

i see that there are some days

 

but how i use ?

 

i don't known how use this code

 

can you help me please ?

 

best regards

 


 

07-27-2020, 05:28 PM:

 

 

 

 

 

Using Kadzu's example link...

 

I dropped a TIWMEMO box in the form and an TIWButton 

 

Then set the ScriptEvents / OnClick on that button to execute the JavaScript to copy the IWMEMO1 to the clipboard.

 

So the above shows the alert message and where I pasted the clipboard copy into notepad.

 


 

07-27-2020, 08:23 PM:

 

Regarding your question, check cpstevenc's answer, but we need to know where or when do you need to copy the text or in what event?

 


 

07-28-2020, 06:31 AM:

 

hello,

 

thank you very much for your very clear response

 

best regards