i want to generate reports which aren't databased (so there's no use for
i also need to provide a preview of the report.
what i thought of doing is this: because the report can be long, i'll use a
TScrollBox, in it i'll put all the components needed for the report and
then the user can scroll up/down the report.
the problem starts when i want
to print it. i don't want to create a second form with the same components
and print it since it'll be measy. what i want is to copy the contents of
the ScrollBox, AS AN IMAGE, to the printer's canvas and print it (forget
for a minute the scaling problem) but a TScrollBox component has no canvas!
so i can't copy it's contents! (remember that i can't use the form's canvas
since not all the report is visual - the user scrolls up/down to see it).
after this long introduction, here's my question: do you know of a (free)
component that is a TScrollBox with a canvas, or can you tell me how to
create one, or do you have a better idea as to how to achieve what i
thanks in advance,