 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Kai Peters Guest
|
Posted: Fri Oct 15, 2004 2:07 am Post subject: QuickReport Newbie question (Delphi 5) |
|
|
Hi,
I just want to use QR to print one big word on a page. My form has a
quickreport component on it - no bands - and one qrlabel.
In the form's FormCreate I do:
qrlabel_Name.Font.Name := 'MS Sans Serif';
qrlabel_Name.Font.Size := 24;
qrlabel_Name.Caption := 'Delphi rocks!';
qrlabel_Name.Top := 100;
qrlabel_Name.Left := 100;
I create this form programmatically from another form and call the
quickreport's preview method.
I get an empty gray preview screen, telling me that I am looking at page
0 - that's all.
What am I doing wrong?
TIA,
Kai
|
|
| Back to top |
|
 |
Mike Shkolnik Guest
|
Posted: Fri Oct 15, 2004 4:29 am Post subject: Re: QuickReport Newbie question (Delphi 5) |
|
|
Set the PrintIfEmpty=True
--
With best regards, Mike Shkolnik
E-mail: [email]mshkolnik (AT) scalabium (DOT) com[/email]
WEB: http://www.scalabium.com
"Kai Peters" <kpeters (AT) mvinc (DOT) net> wrote
| Quote: |
Hi,
I just want to use QR to print one big word on a page. My form has a
quickreport component on it - no bands - and one qrlabel.
In the form's FormCreate I do:
qrlabel_Name.Font.Name := 'MS Sans Serif';
qrlabel_Name.Font.Size := 24;
qrlabel_Name.Caption := 'Delphi rocks!';
qrlabel_Name.Top := 100;
qrlabel_Name.Left := 100;
I create this form programmatically from another form and call the
quickreport's preview method.
I get an empty gray preview screen, telling me that I am looking at page
0 - that's all.
What am I doing wrong?
TIA,
Kai
|
|
|
| Back to top |
|
 |
Dadof4 Guest
|
Posted: Fri Oct 15, 2004 1:52 pm Post subject: Re: QuickReport Newbie question (Delphi 5) |
|
|
Try this..
Put a detail band on the report. Size it to the page size.
Place the label on the detail band.
Rich
"Kai Peters" <kpeters (AT) mvinc (DOT) net> wrote
| Quote: |
Hi,
I just want to use QR to print one big word on a page. My
form has a quickreport component on it - no bands - and
one qrlabel.
In the form's FormCreate I do:
qrlabel_Name.Font.Name := 'MS Sans Serif';
qrlabel_Name.Font.Size := 24;
qrlabel_Name.Caption := 'Delphi rocks!';
qrlabel_Name.Top := 100;
qrlabel_Name.Left := 100;
I create this form programmatically from another form and
call the quickreport's preview method.
I get an empty gray preview screen, telling me that I am
looking at page 0 - that's all.
What am I doing wrong?
TIA,
Kai
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|