Occurs when the printing of the DataWindow or DataStore starts.
PowerBuilder event information Event ID: pbm_dwnprintstart
Argument |
Description |
---|---|
pagesmax |
Long by value. The total number of pages that will be printed, unless pages are skipped. |
Web ActiveX event information Event name: beforePrintPage
Argument |
Description |
---|---|
PagesMax |
Number. The total number of pages that will be printed, unless pages are skipped. |
There are no special outcomes for this event. The only code is:
0 Continue processing
To skip printing some of the pages in the DataWindow or DataStore, write code for the PrintPage event.