trichview.com

trichview.support




Undo & cellcolor


Return to index


Author

Message

Pieter E.

Posted: 06/14/2005 10:57:08


Dear Sergey,


I'm trying to set the background color of a tablecell with an undo function.

But I can't make it work.


I use the following code:

rve->BeginUndoCustomGroup("cell_color");

rve->SetUndoGroupMode(true);

TCustomRVItemInfo *Custitem;

((TRVTableItemInfo*)Custitem)->Cells[0][0]->Color = clRed;

rve->SetUndoGroupMode(false);


Could you advise me?


Thanks.


Pieter E.





Powered by ABC Amber Outlook Express Converter