Re: drawing RichView fields in DBGrid

Return to index



Sergey Tkachenko

Posted: 07/05/2004 17:17:19

When you format document for drawing using RVReportHelper, you can use

RVReportHelper.GetLastPageHeight method.

I am not sure if DBGrid will work properly after assigning its RowHeights.

This demo uses a trick - typecasting TDBGrid to TDrawGrid (it works because

the required property is introduced (but protected) in their common

ancestor - TCustomGrid), but generally TDBGrid does not expect changing

heights of rows.

> 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?

Powered by ABC Amber Outlook Express Converter