PtrDevice:AllPages Access/Assign

<< Click to Display Table of Contents >>

Navigation:  RpPrinter & PtrDevice Class Overview > PtrDevice Class >

PtrDevice:AllPages Access/Assign

Previous pageReturn to chapter overviewNext page
Type        Logic

Purpose

To get/set the ALLPAGES bit of the PRINTDLG.FLAGS member.

 

The access returns TRUE if the PRINTDLG structure FLAGS member has the ALLPAGES bit set.  When queried after the Print Dialog Window is shown, it indicates that the user selected the All Pages radio button.

 

The assign sets (or clears) the ALLPAGES bit of the PRINTDLG.FLAGS member.  TRUE forces the All Pages radio button to be initially selected when the Print Dialog Window is presented.

Example

// Force the All Pages radio button of the Print

// dialog window to be selected

oPtrDevice:AllPages := True