Page 1 of 1

DbGrid with TRichView cells

Posted: Tue Nov 08, 2005 2:13 pm
by lommez
Hi Sergey, do you any demo to show how can i do that?
I want that any cell contains TRichView component linked to a tfield
And the text may have animated emotion icons.
The purpose of that is to create a conversation history.

Thanks

Posted: Tue Nov 08, 2005 4:37 pm
by Sergey Tkachenko
There is a demo Demos\Delphi\DB Demo\3 DBGrid\, but it does not support animations. DBGrid does not contain other components, so you cannot add a trichview object in it. When its cell needs to be repainted, this demo draws TRichView in it.

I'd suggest to create the whole history in TRichView instead of TDBGrid.