Units
Classes, Interfaces and Objects
Types
Variables
Constants
Functions and Procedures
Identifiers

Unit MPPrintDialogEx

Description

TMPPrintDialogEx is an enhanced TPrintDialog which supportes the new Print Dialog style of Windows 2000

TMPPrintDialogEx v 02-09-2003
TMPPrintDialogEx is an enhanced version of TPrintDialog that shows the new "Printer Property Page" on systems which support it. on older systems the standard TPrintDialog is displayed.

if the new dialog is used, PrintRange can also be set to prCurrentPage to only print one specific page.

history:

Classes, Interfaces and Objects

NameDescription
Class TMPPrintDialogEx TMPPrintDialogEx is an enhanced version of TPrintDialog that shows the new "Printer Property Page" on systems which support it. on older systems the standard TPrintDialog is displayed.

if the new dialog is used, PrintRange can also be set to prCurrentPage to only print one specific page.

Functions and Procedures

Overview

procedure Register;

Description

procedure Register;

 

Types

NameDescription
TMPPrintDialogExOption dialog options:
- poDisableCurrentPage: disables (grays) the current page check box.
- poDisablePrintToFile: disables (grays) the print to file check box. (applicable only if the poprinttofile flag is set.)
- poHelp: displays a help button in the dialog. seems not to work, so it's not used.
- poPageNums: enables the pages radio button, allowing the user to specify a page range.
- poPrintToFile: displays a print to file check box in the dialog.
- poSelection: enables the selection radio button, allowing the user to print selected (highlighted) text.
- poWarning: generates a warning message if the user tries to send a job to an uninstalled printer.
TMPPrintDialogExOptions see TMPPrintDialogExOption
TMPPrintDialogExRange print range:
- prAllPages: the all radio button is selected.
- prCurrentPage: the current page radio button is selected.
- prSelection: the selection radio button is selected.
- prPageNums: the pages radio button is selected.

Author

(C)2003 markus stephany, merkes@mirkes.de, all rights reserved.

Last Modified

02-09-2003


Generated by DIPasDoc 0.8.0 on Sun 9 Feb 2003 20:26:39