Lines in Print
hi,
I have created lines on my detail and summary band at the runtime and when
I try to preview the report they show up fine but when I try to print the
same report these line were not printed.
I am sending you my sample code. Please help.. RB6.01 with Delphi 4.0.
function TfrmQueryWizard.CreateLineControls(awidth, aTop, aleft: integer;
lBand: tppband): tppLine;
begin
Result := TppLine(ppComponentCreate(FReport, tppLine));
Result.Band := lBand;
Result.Style := lsSingle;
Result.spWidth := aWidth;
Result.spTop := aTop;
Result.spLeft := aLeft;
end;
My questions is I can preview it fine but those line where not printed.
Is there any properties I am missing here to set .
Thanks
regards,
-Bhoj
I have created lines on my detail and summary band at the runtime and when
I try to preview the report they show up fine but when I try to print the
same report these line were not printed.
I am sending you my sample code. Please help.. RB6.01 with Delphi 4.0.
function TfrmQueryWizard.CreateLineControls(awidth, aTop, aleft: integer;
lBand: tppband): tppLine;
begin
Result := TppLine(ppComponentCreate(FReport, tppLine));
Result.Band := lBand;
Result.Style := lsSingle;
Result.spWidth := aWidth;
Result.spTop := aTop;
Result.spLeft := aLeft;
end;
My questions is I can preview it fine but those line where not printed.
Is there any properties I am missing here to set .
Thanks
regards,
-Bhoj
This discussion has been closed.
Comments
When are you creating these lines? Be sure that you are creating them
before the call to Report.Print. Below is a link to an example of creating
a report dynamically.
http://www.digital-metaphors.com/tips/dynamicReportCreation.zip
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
printer, and then on a different printer they may only print on the first
page, or not at all.
work on this printer? Does it show the problem when you print to the
printers in the reverse order? If you disconnect the event handlers does the
problem persist?
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com