Printend

Description

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.


Return Values

There are no special outcomes for this event. The only code is:

0 -- Continue processing

Examples

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."

See also

PrintMarginChange

PrintPage

PrintStart