2PrintButtonClickedWindow

Document Sample
2PrintButtonClickedWindow Powered By Docstoc
					PrintButtonClicked Event (Window Object)
The PrintButtonClicked event occurs when the Print button is clicked.

Syntax
Event PrintButtonClicked (useDefault As Boolean)

Parameters
useDefault - Specifies Boolean value indicating whether the default settings should be used. Assign useDefault = FALSE if not using default behavior defined in CPEAUT (i.e., if you do not want the Print dialog box to appear).

Remarks
Before enabling this event, the HasPrintButton property of the PrintWindowOptions Object must be set to TRUE. This event is enabled using the PrintWindowButtonEnabled property of the EventInfo Object obtained through the EventInfo property of the Report Object.


				
DOCUMENT INFO
Shared By:
Categories:
Tags:
Stats:
views:4
posted:6/29/2009
language:English
pages:1