Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Скачиваний:
191
Добавлен:
11.05.2015
Размер:
4.96 Mб
Скачать

useDefault

Specifies Boolean value indicating whether the default settings should be used.

 

Assign useDefault = FALSE if not using default behavior defined in CPEAUT (that

 

is, if you do not want drill-down to occur).

 

 

ReportName

Reserved for future use.

 

 

Remarks

Before enabling this event, the CanDrillDown property of the PrintWindowOptions Object, Page 347, must be set to TRUE. This event is enabled by using the GroupEventEnabled property of the EventInfo Object (32-bit only), Page 310, obtained through the EventInfo property of the Report Object, Page 349. For more information, see Object Model Events, Page 283.

ExportButtonClicked

The ExportButtonClicked event occurs when the Export button is clicked.

Syntax

Event ExportButtonClicked (useDefault As Boolean)

Parameter

useDefault

Specifies Boolean value indicating whether the default settings should be used. Assign

 

useDefault = FALSE if not using default behavior defined in CPEAUT (that is, if you do

 

not want the Export dialog box to appear).

 

 

Remarks

Before enabling this event, the HasExportButton property of the PrintWindowOptions Object, Page 347, must be set to TRUE. This event is enabled by using the PrintWindowButtonEnabled property of the EventInfo Object (32-bit only), Page 310, obtained through the EventInfo property of the Report Object, Page 349. For more information, see Object Model Events, Page 283.

FirstPageButtonClicked

The FirstPageButtonClicked event occurs when the button, that navigates through the report to the first page, is clicked.

Syntax

Event FirstPageButtonClicked (useDefault As Boolean)

Crystal Report Engine Object Model for the Automation Server

384

Parameter

useDefault

Specifies Boolean value indicating whether the default settings should be used. Assign

 

useDefault = FALSE if not using default behavior defined in CPEAUT (that is, if you do

 

not want to go to the first page).

 

 

Remarks

Before enabling this event, the HasNavigationControls property of the PrintWindowOptions Object, Page 347, must be set to TRUE. This event is enabled by using the PrintWindowButtonEnabled property of the EventInfo Object (32-bit only), Page 310, obtained through the EventInfo property of the Report Object, Page 349. For more information, see Object Model Events, Page 283.

GroupTreeButtonClicked

The GroupTreeButtonClicked event occurs when the Group Tree button is clicked to show/hide the Group Tree in the preview window.

Syntax

Event GroupTreeButtonClicked (Visible As Boolean)

Parameters

Visible

Specifies Boolean value indicating whether the Group Tree is visible/hidden after clicking

 

the button.

 

 

Remarks

Before enabling this event, the HasGroupTree property of the PrintWindowOptions Object, Page 347, and the HasGroupTree property of the ReportOptions Object, Page 358 must be set to TRUE. This event is enabled by using the GroupEventEnabled property of the EventInfo Object (32-bit only), Page 310, obtained through the EventInfo property of the Report Object, Page 349. For more information, see Object Model Events, Page 283.

LastPageButtonClicked

The LastPageButtonClicked event occurs when the button, that navigates through the report to the last page, is clicked.

Syntax

Event LastPageButtonClicked (useDefault As Boolean)

Crystal Report Engine Object Model for the Automation Server

385

Parameter

useDefault

Specifies Boolean value indicating whether the default settings should be used. Assign

 

useDefault = FALSE if not using default behavior defined in CPEAUT (that is, if you do

 

not want to go to the last page).

 

 

Remarks

Before enabling this event, the HasNavigationControls property of the PrintWindowOptions Object, Page 347, must be set to TRUE. This event is enabled by using the PrintWindowButtonEnabled property of the EventInfo Object (32-bit only), Page 310, obtained through the EventInfo property of the Report Object, Page 349. For more information, see Object Model Events, Page 283.

NextPageButtonClicked

The NextPageButtonClicked event occurs when the button, that navigates through the report to the next page, is clicked.

Syntax

Event NextPageButtonClicked (useDefault As Boolean)

Parameter

useDefault

Specifies Boolean value indicating whether the default values should be used. Assign

 

useDefault = FALSE if not using default behavior defined in CPEAUT (that is, if you do

 

not want to go to the next page).

Remarks

Before enabling this event, the HasNavigationControls property of the PrintWindowOptions Object, Page 347, must be set to TRUE. This event is enabled by using the PrintWindowButtonEnabled property of the EventInfo Object (32-bit only), Page 310, obtained through the EventInfo property of the Report Object, Page 349. For more information, see Object Model Events, Page 283.

PrevPageButtonClicked

The PrevPageButtonClicked event occurs when the button, which navigates through the report to the previous page, is clicked.

Syntax

Event PrevPageButtonClicked (useDefault As Boolean)

Crystal Report Engine Object Model for the Automation Server

386

Parameters

useDefault

Specifies Boolean value indicating whether the default values should be used. Assign

 

useDefault = FALSE if not using default behavior defined in CPEAUT (that is, if you do

 

not want to go to the previous page).

 

 

Remarks

Before enabling this event, the HasNavigationControls property of the PrintWindowOptions Object, Page 347, must be set to TRUE. This event is enabled by using the PrintWindowButtonEnabled property of the EventInfo Object (32-bit only), Page 310, obtained through the EventInfo property of the Report Object, Page 349. For more information, see Object Model Events, Page 283.

PrintButtonClicked

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 (that is, if you do

 

not want the Print dialog box to appear).

 

 

Remarks

Before enabling this event, the HasPrintButton property of the PrintWindowOptions Object, Page 347, must be set to TRUE. This event is enabled by using the PrintWindowButtonEnabled property of the EventInfo Object (32-bit only), Page 310, obtained through the EventInfo property of the Report Object, Page 349. For more information, see Object Model Events, Page 283.

PrintSetupButtonClicked

The PrintSetupButtonClicked event occurs when the Print Setup button is clicked.

Syntax

Event PrintSetupButtonClicked (useDefault As Boolean)

Crystal Report Engine Object Model for the Automation Server

387

Соседние файлы в папке crystal