Page 1 of 1

Copying Link from One Page to Another

Posted: Sat Sep 26, 2020 9:36 am
by paxwood
Hello

My project requires me to routinely move links from one page to another. I find when I copy a link from a text box and then paste it on another page in another text box, it seems to inherit the hyperlink of the link below where it is pasted rather than keeping it's own link. Using WB16 for this demo.

Please see demo file attached. To create again

1. Open the project
2. View Page1
3. Highlight www.bbc.co.uk
4. Cut it
5 Go to page 2
6 paste it so it is the top link
7 you will see although it still says www.bbc.co.uk the hyperlink has actually changed to www.amazon.co.uk

Demo file is at www.churchinwickhambishops.org.uk/demo.wbs

Thank you - Any help appreciated.

Re: Copying Link from One Page to Another

Posted: Sat Sep 26, 2020 10:53 am
by Pablo
WWB uses the standard Windows text editor component (richedit), this control uses RTF clipboard data for copy/paste.
Unfortunately, this does not support copy/pasting link data. Tta means that the link data in only valid within the content of the same text object.

If you copy the entire text object to anpther page then all link data will be included because in that case WWB's private clipboard format will be used.