In the pre-WP5 days, to copy over a specific paragraph from, say, wprtfSource to wprtfDest, code like this might be used
Code
lin := wprtfSource.Memo.Active_paragraph^.line;
repeat
wprtfDest.FastAppendActiveLine( wprtfSource );
lin := lin^.next;
until( lin = nil );
This would copy over all text and embedded objects, including graphics. Because FastAppendActiveLline worked with a line at a time, the code needs to iterate through the "line chain".
Now, with WPTools 5, what's the "preferred" way to do this - copy over a specific paragraph, the active one, from the source to the destination TWPRichText component, and bring along all embedded TextObjects as well?
diamond