| Home | Previous Lesson: The Abort CommandButton Next Lesson: The cb_Save_to_Log 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.
| Home | Previous Lesson: The Abort CommandButton Next Lesson: The cb_Save_to_Log CommandButton |