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

Parameters

useDefault

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

 

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

 

not want the Printer Setup dialog box to appear).

 

 

Remarks

Before enabling this event, the HasPrintSetupButton 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.

RefreshButtonClicked

The RefreshButtonClicked event occurs when the Refresh button is clicked.

Syntax

Event RefreshButtonClicked (useDefault As Boolean)

Parameters

useDefault

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

 

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

 

not want the report to refresh).

 

 

Remarks

Before enabling this event, the HasRefreshButton 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.

SearchButtonClicked

The SearchButtonClicked event occurs when the Search button is clicked.

Syntax

Event SearchButtonClicked (SearchString As String, useDefault As Boolean)

Crystal Report Engine Object Model for the Automation Server

388

Parameters

SearchString

Specifies the string entered by the user that will be searched for.

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 search for the string to occur).

Remarks

 

Before enabling this event, the HasSearchButton 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.

ShowGroup

The ShowGroup event occurs when you click a group in the Group Tree.

Syntax

Event ShowGroup (GroupNameList, useDefault As Boolean)

Parameters

GroupNameList

Specifies an array indicating the path to the group that was drilled down on

 

(separated by “/”).

 

 

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 group that the user clicked on to be shown in the

 

preview window).

 

 

ReportName

Reserved for future use.

 

 

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.

ZoomLevelChanging

The ZoomLevelChanging event occurs when the zoom level of the report preview is changed.

Syntax

Event FirstPageButtonClicked (ZoomLevel As Integer)

Crystal Report Engine Object Model for the Automation Server

389

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