trichview.com

trichview.support




Re: Control items that exceed the height limit...


Return to index


Author

Message

Luke

Posted: 11/21/2002 22:46:25


Hey Sergey,

  Thank for setting me straight again.  I keep getting side tracked so it

takes a minute to get back up to speed.  I see now how I can accomplish this.


  The grid I'm using has a lot of custom logic, formatting issues and active

events already in place.  I think it is great that I can take the grid that

has already been altered for our specific needs and just drop it into a live

report.


  The grid I'm using has its own printing methods.  I plan on using these

methods to draw the grid onto the canvas.  I have already applied the methods

you stated in past emails to adjust the size of a print part so a break will

fall on specific areas determined by the Item. 



"Sergey Tkachenko" <[email protected]> wrote:

>It's not a trivial task.

>Of course, drawing control with 40K rows into bitmap is impossible.

>You can create a new RichView item class representing this control, and

>override printing method in it.

>Example is in Demos\Addins\ChartItem.

>This example shows how to print a control directly on the printer canvas.

>

>But this does not solve the problem, because there is one more important

>issue - how the image of this control will be separated between pages.

>There are two possible solutions:

>- setting rvepMinHeightOnPage to non-zero value; the control will be printed

>on several pages, but it can be split  between  pages in arbitrary place

(in

>the middle of text line in cell, for example);

>- controlling separation between pages yourself; this process is not

>documented and is not very easy to learn.

>

>Did you try to use native RichView tables for your reports?

>

>





Powered by ABC Amber Outlook Express Converter