setdefaultpages_set_the_default_pages_to_print_.htm
Navigation: ABC Library Reference > PrintPreviewClass > PrintPreviewClass Methods >====== SetDefaultPages (set the default pages to print) ====== | |
SetDefaultPages, VIRTUAL
The SetDefaultPages method sets the initial value of the PagesToPrint property. The initial value is 1-n, where n is equal to the total number of pages in the report.
Implementation:
The Display and AskPrintPreview methods call the SetDefaultPages method.
Example:
!Virtual implementation of SetDefaultPages method
PrintPreviewClass.SetDefaultPages PROCEDURE
CODE
SELF.PagesToPrint = '1-' & RECORDS(SELF.ImageQueue)
See Also: PagesToPrint
setdefaultpages_set_the_default_pages_to_print_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1