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

WindowShowPrintBtn

WindowShowPrintBtn indicates whether or not a Print button is available in the preview window.

Syntax

[form.]Report.WindowShowPrintBtn[= {True|False}]

For example:

CrystalReport1.WindowShowPrintBtn = False

«No Print button is available in the preview window.»

Remarks

This property is set to True by default.

Data Type

Boolean

Availability

Design Time; Runtime

Related Report Engine Functions

PESetWindowOptions, Volume 2, Chapter 1

WindowShowPrintSetupBtn

WindowShowPrintSetupBtn indicates whether or not a Print Setup button is available in the preview window.

Syntax

[form.]Report.WindowShowPrintSetupBtn[= {True|False}]

For example:

CrystalReport1.WindowShowPrintSetupBtn = False

«No Print Setup button is available in the preview window.»

Crystal ActiveX Control Reference

259

Remarks

This property is set to False by default.

The Print Setup button displays the Print Setup dialog box, allowing users to make changes to printer settings before printing a report that appears in the preview window.

If the Print Setup button is disable, and the Print button is enabled (see WindowShowPrintBtn, Page 259), when a user clicks the Print button, the report will be sent to the printer selected when the report was created. If no printer was selected, or if the printer is unavailable, the report will be sent to the default printer for the current machine.

Data Type

Boolean

Availability

Design Time; Runtime

Related Report Engine Functions

PESetWindowOptions, Volume 2, Chapter 1

WindowShowProgressCtls

WindowShowProgressCtls indicates whether or not controls indicating the progress of a report being generated are displayed in the preview window.

Syntax

[form.]Report.WindowShowProgressCtls[= {True|False}]

For example:

CrystalReport1.WindowShowProgressCtls = False

«No Progress Controls are displayed in the preview window.»

Remarks

This property is set to True by default.

Data Type

Boolean

Crystal ActiveX Control Reference

260

Availability

Design Time; Runtime

Related Report Engine Functions

PESetWindowOptions, Volume 2, Chapter 1

WindowShowRefreshBtn

WindowShowRefreshBtn indicates whether or not a Refresh button is available in the preview window.

Syntax

[form.]Report.WindowShowRefreshBtn[= {True|False}]

For example:

CrystalReport1.WindowShowRefreshBtn = False

«No Refresh button is displayed in the preview window.»

Remarks

This property is set to False by default.

The Refresh button allows a user to refresh the data displayed in a report. The most current data can be obtained by refreshing report data, but the process of accessing the database containing the data can be time consuming and may burden system and network resources.

Data Type

Boolean

Availability

Design Time; Runtime

Related Report Engine Functions

PESetWindowOptions, Volume 2, Chapter 1

WindowShowSearchBtn

WindowShowSearchBtn indicates whether or not a Search button is available in the preview window.

Syntax

[form.]Report.WindowShowSearchBtn[= {True|False}]

Crystal ActiveX Control Reference

261

For example:

CrystalReport1.WindowShowSearchBtn = True

«The Search button is displayed in the preview window.»

Remarks

This property is set to False by default.

The Search button allows a user to search for a specific field value in the report.

Data Type

Boolean

Availability

Design Time; Runtime

Related Report Engine Functions

PESetWindowOptions, Volume 2, Chapter 1

WindowShowZoomCtl

WindowShowZoomCtl indicates whether or not Zoom Controls are available in the preview window.

Syntax

[form.]Report.WindowShowZoomCtl[= {True|False}]

For example:

CrystalReport1.WindowShowZoomCtl = True

«Zoom Controls are displayed in the preview window.»

Remarks

This property is set to True by default.

Zoom controls allow a user to zoom in or out on report data, enlarging or reducing the report on screen.

Data Type

Boolean

Crystal ActiveX Control Reference

262

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