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 

Hide the printbuttom on the Preview?

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





PostPosted: Tue Nov 16, 2004 12:29 pm    Post subject: Hide the printbuttom on the Preview? Reply with quote



hi NG,

how can i hide the printer setting button and the print button on the
quickreport preview?

thx
michael


Back to top
Mike Thompson
Guest





PostPosted: Tue Nov 16, 2004 1:07 pm    Post subject: Re: Hide the printbuttom on the Preview? Reply with quote



Create a custom preview.. easy and more efficient.

Mike.


"Michael Gapp" <MGapp (AT) fixemer (DOT) de> wrote

Quote:
hi NG,

how can i hide the printer setting button and the print button on the
quickreport preview?

thx
michael





Back to top
Johan Karl Larsen
Guest





PostPosted: Tue Nov 16, 2004 1:50 pm    Post subject: Re: Hide the printbuttom on the Preview? Reply with quote



"Michael Gapp" <MGapp (AT) fixemer (DOT) de> wrote

Quote:
hi NG,

how can i hide the printer setting button and the print button on the
quickreport preview?


I disable save and open report buttons by the following code in BeforePrint
event. Found it using Google.

for i:=0 to Screen.FormCount - 1 do
if Screen.Forms[i] is TQRStandardPreview then
with TQRStandardPreview(Screen.Forms[i]) do
begin
SaveReport.Visible := False;
LoadReport.Visible := False;
end;

Guess you can do the same with the other buttons on preview form.

--
Johan



Back to top
Michael Gapp
Guest





PostPosted: Tue Nov 16, 2004 4:44 pm    Post subject: Re: Hide the printbuttom on the Preview? Reply with quote


ok thx,

i can open the preview.

but the app is frozen by closing the preview.

how can i stop the preview?

michael!

"Mike Thompson" <mthompson (AT) yahoo (DOT) com> schrieb im Newsbeitrag
news:4199fbea$1 (AT) newsgroups (DOT) borland.com...
Quote:
Create a custom preview.. easy and more efficient.

Mike.


"Michael Gapp" <MGapp (AT) fixemer (DOT) de> wrote in message
news:4199f2ac (AT) newsgroups (DOT) borland.com...
hi NG,

how can i hide the printer setting button and the print button on the
quickreport preview?

thx
michael







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.