trichview.com

trichview.support




Modify cell text


Return to index


Author

Message

Alexander Fatykhov

Posted: 06/22/2005 17:31:07


Hello, All!


how to _modify_ cell text correctly in program?

Want to split text in cell into 2 lines (insert \r\n in the middle)


AnsiString new_text = "ABC  \r\n  CDE";

t->Cells[r][c]->SetItemText(0, new_text);


in this case I've got:  ABC   CDE


if  new_text = "ABC  \\par  CDE";  ->   ABC  \par  CDE





Powered by ABC Amber Outlook Express Converter