BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

QuickReport Newbie question (Delphi 5)

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Reporting-Charting
View previous topic :: View next topic  
Author Message
Kai Peters
Guest





PostPosted: Fri Oct 15, 2004 2:07 am    Post subject: QuickReport Newbie question (Delphi 5) Reply with 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
Mike Shkolnik
Guest





PostPosted: Fri Oct 15, 2004 4:29 am    Post subject: Re: QuickReport Newbie question (Delphi 5) Reply with quote



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





PostPosted: Fri Oct 15, 2004 1:52 pm    Post subject: Re: QuickReport Newbie question (Delphi 5) Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Reporting-Charting All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.