trichview.com

trichview.support.examples




Re: drawing RichView fields in DBGrid


Return to index


Author

Message

Marcos Lommez

Posted: 07/05/2004 4:30:40


Thanks Sergey for this demo

But i wanna know one thing....


How can i get the heigth size in pixels of the rvf text and set for each

row?


"Sergey Tkachenko" <[email protected]> escreveu na mensagem

news:[email protected]...

> This demo shows how to display RVF field in TDBGrid

>

> Image:

> http://www.trichview.com/support/files/rvdbgrid.gif

> Source code of demo:

> http://www.trichview.com/support/files/rvdbgrid.zip

>

> Note: this demo was compiled with RichView v1.8.26.4. If you use older

> version, Delphi may show warnings about unknown properties when opening

> forms. Open both forms in the project, press "Ignore all" for warnings,

save

> the forms.

>

>

> Tested:

> Delphi 2: the code is ok, but will not work on this example database

because

> RichView does not support loading collections of styles from RVF fields in

> Delphi 2

> Delphi 3: ok, but minor glitches with drawing because of row height hack

> Delphi 7: ok.

>

>





Powered by ABC Amber Outlook Express Converter