Page 1 of 1

PrintPreview and printing from the other component

PostPosted: August 28th, 2007, 9:37 am
by Pawel
Hello!

I have some (n00b ?) question about PrintPreview component.

I have the the other component (called PrintGrid), which brilliantly print whole grid. The thing is, to use this component I have to use PrintGrid.Print command.

Of course, when I use this command, grid will be immediatelly printed on default printer.

My question is, is there any easy way to send all data from PrintGrid component to PrintPreview component to view the data on PrintPreview instead of immediatelly print it ?


PS: Sorry for my bad English - I hope You will understand my question :)

Best Regards

PostPosted: August 28th, 2007, 8:55 pm
by Kambiz
I guess you have to revise PrintGrid code to use PrintPreview component instead of the Printer object.