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

WindowParentHandle

WindowParentHandle specifies the handle of the parent window if the preview window is to be the child of another window.

Syntax

[form.]Report.WindowParentHandle[= ParentHandle%]

For example:

CrystalReport1.WindowParentHandle = Form1.hWnd

«Sets the WindowParentHandle to the handle of Form1. This specifies that the preview window is to be a child of Form1.»

Remarks

This is a runtime-only property.

Data Type

Integer

Availability

Runtime

Related Report Engine Functions

PEOutputToWindow, Volume 2, Chapter 1

WindowShowCancelBtn

WindowShowCancelBtn indicates whether or not a Cancel button is available in the preview window.

Syntax

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

For example:

CrystalReport1.WindowShowCancelBtn = False

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

Crystal ActiveX Control Reference

255

Remarks

This property is set to False by default.

Data Type

Boolean

Availability

Design Time; Runtime

Related Report Engine Functions

PESetWindowOptions, Volume 2, Chapter 1

WindowShowCloseBtn

WindowShowCloseBtn indicates whether or not a Close button is available in the preview window.

Syntax

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

For example:

CrystalReport1.WindowShowCloseBtn = True

«A Close button will appear in the preview window.»

Remarks

This property is set to False by default.

Data Type

Boolean

Availability

Design Time; Runtime

Related Report Engine Functions

PESetWindowOptions, Volume 2, Chapter 1

Crystal ActiveX Control Reference

256

WindowShowExportBtn

WindowShowExportBtn indicates whether or not an Export button is available in the preview window.

Syntax

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

For example:

CrystalReport1.WindowShowExportBtn = True

«The Export button appear 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

WindowShowGroupTree

WindowShowGroupTree indicates whether or not a Group Tree is displayed in the preview window.

Syntax

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

For example:

CrystalReport1.WindowShowGroupTree = False

«No Group Tree is displayed in the preview window.»

Crystal ActiveX Control Reference

257

Remarks

This property is set to False by default.

Data Type

Boolean

Availability

Design Time; Runtime

Related Report Engine Functions

PESetWindowOptions, Volume 2, Chapter 1

WindowShowNavigationCtls

WindowShowNavigationCtls indicates whether or not the Navigation Controls are available in the preview window.

Syntax

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

For example:

CrystalReport1.WindowShowNavigationCtls = True

«The preview window contains Navigation Controls.»

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

Crystal ActiveX Control Reference

258

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