AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

Printersetup in Quickreport

Ein Thema von dleeming · begonnen am 2. Okt 2006 · letzter Beitrag vom 2. Okt 2006
Antwort Antwort
dleeming

Registriert seit: 2. Okt 2006
Ort: Düsseldorf
4 Beiträge
 
#1

Printersetup in Quickreport

  Alt 2. Okt 2006, 14:33
Hi,

Ich bin neu hier und auch einen Englander.

Ich brauch etwa hilfe..

Und zwar mit die Printersetup Funktion von Quickrep.

Ich ruf es auf so wie hier unten und wenn die Printerdialog angezeigt wird und ich auch Abbrechen klicke, es Drückt trotzdem.

Was mach ich Falsch.

Delphi-Quellcode:
procedure Tfrm_selrep_cust_mgt_fee_top.JvBitBtn1Click(Sender: TObject);
begin
     // Print Management Fee

     frm_rep_cust_mgt_fee.qrep_cust_mgt_fee.Printersetup;
     frm_rep_cust_mgt_fee.qry_rep_mgt_fee.Active := True;
     frm_rep_cust_mgt_fee.qry_company_banking_information.Active := True;

     frm_rep_cust_mgt_fee.qrep_cust_mgt_fee.Print;
end;
Mfg

Darren
  Mit Zitat antworten Zitat
marabu

Registriert seit: 6. Apr 2005
10.109 Beiträge
 
#2

Re: Printersetup in Quickreport

  Alt 2. Okt 2006, 18:35
Hi Darren, welcome to the club.

AFAIR canceling PrinterSetup() only drops the settings you made in that dialog. Since there is no result returned - in fact you are dealing with a procedure not a function - you must change your concept. What about Preview() instead of PrinterSetup() followed by Print(). Your user should be capable to decide on when to change settings and can do so from within the preview - and he also can close the preview without printing.

Kind regards

marabu
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 04:50 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz