Introduction to PowerBuilder

HomePrevious Lesson: The Abort CommandButton
Next Lesson: The cb_Save_to_Log CommandButton

The Print CommandButton

For the Print CommandButton, we want to print the DataWindow control using the Print property:
// Object: cb_print in w_error
// Event: Clicked
dw_error_info.Print(TRUE)

This will print the contents of DataWindow control to the current default printer.
HomePrevious Lesson: The Abort CommandButton
Next Lesson: The cb_Save_to_Log CommandButton