| View previous topic :: View next topic |
| Author |
Message |
Michael Gapp Guest
|
Posted: Tue Nov 16, 2004 12:29 pm Post subject: Hide the printbuttom on the Preview? |
|
|
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
|
Posted: Tue Nov 16, 2004 1:07 pm Post subject: Re: Hide the printbuttom on the Preview? |
|
|
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
|
Posted: Tue Nov 16, 2004 1:50 pm Post subject: Re: Hide the printbuttom on the Preview? |
|
|
"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
|
Posted: Tue Nov 16, 2004 4:44 pm Post subject: Re: Hide the printbuttom on the Preview? |
|
|
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 |
|
 |
|