trichview.com

trichview.support




Copy Text Format to another Text Item


Return to index


Author

Message

Stefan Hempel

Posted: 05/09/2005 22:33:57


Hello


I want to copy the Text Format from one Item to another. Here is my Code

:

TCustomRVItemInfo *Item1;

TCustomRVItemInfo *Item2;

..

Item2->Assign(Item1);


This works, but if Item1 and Item2 is in the same Line, after Assign() Item2

is on a new Line. So Assign() copies the Carriage Return before Item1 to

Item2 too.

How can I copy Text Format without Carriage Return or delete Carriage Return

before Item2?


Thanks





Powered by ABC Amber Outlook Express Converter