Occurs when the printing of a DataWindow or DataStore ends.
PowerBuilder event information Event ID: pbm_dwnprintend
Argument |
Description |
---|---|
pagesprinted |
Long by value. The total number of pages that were printed. |
Web ActiveX event information Event name: afterPrint
Argument |
Description |
---|---|
PagesPrinted |
Number. The total number of pages that were printed. |
There are no special outcomes for this event. The only code is:
0 Continue processing
This statement displays the number of pages that were printed after the Print method was called to print the contents of the DataWindow control:
st_1.Text = String(pagesprinted) &
+ " page(s) have been printed."