Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   GUI-Design mit VCL / FireMonkey / Common Controls (https://www.delphipraxis.net/18-gui-design-mit-vcl-firemonkey-common-controls/)
-   -   Delphi TPrinterSetupDialog konfigurieren? (https://www.delphipraxis.net/74588-tprintersetupdialog-konfigurieren.html)

PeterPanino 5. Aug 2006 20:18


TPrinterSetupDialog konfigurieren?
 
Hallo,

ich möchte im PrinterSetupDialog bestimmte Elemente wie Orientierung (Hoch/Quer) und Papierformat nicht anzeigen oder disablen. Geht das?

Vielen Dank im Voraus!

fwsp 5. Aug 2006 20:23

Re: TPrinterSetupDialog konfigurieren?
 
ja, das geht.
einfach mal die suche bedienen.

PeterPanino 5. Aug 2006 21:06

Re: TPrinterSetupDialog konfigurieren?
 
Zitat:

Zitat von fwsp
ja, das geht.
einfach mal die suche bedienen.

Hab ich natürlich schon vorher gemacht. Aber vielleicht verwechselst du was: Ich möchte nicht TPrintDialog konfigurieren (der hat ja die Eigenschaft Options), sondern TPrinterSetupDialog (der hat keine Options).

Deshalb eben meine Frage.

So, verrätst du mir nun, wie's geht?

marabu 5. Aug 2006 21:56

Re: TPrinterSetupDialog konfigurieren?
 
Hallo Peter,

du hast die Professional Version mit den Quellen zur Unit Dialogs. Du kannst eine eigene Klasse TPrinterSetupDialogEx definieren, der du eine published property Options verpasst, welche die Flags konfigurierbar macht.

Gute Nacht

marabu


Alle Zeitangaben in WEZ +1. Es ist jetzt 02:03 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