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

Constant

Value

 

 

 

 

crLine

105

 

 

crMap

112

crOLAPCrossTabFieldType

4

 

 

crOLAPDataFieldType

3

 

 

crOLAPDimensionFieldType

2

 

 

crOLEObject

101

crOOPSubreport

113

 

 

crPageFooterSection

206

 

 

crPageHeaderSection

205

 

 

crPromptingVarFieldType

9

 

 

crReportFooterSection

204

crReportHeaderSection

203

 

 

crSpecialVarFieldType

7

 

 

crSubreport

102

 

 

crSummaryFieldType

6

crText

100

 

 

crUnknownFieldDefType

0

 

 

CRViewer Object

The CRViewer Object is the primary object representing the Smart Viewer control as it appears on a Form in your Visual Basic application.

CRViewer Object Properties

Property

Description

Read/Write

 

 

 

 

 

 

ActiveViewIndex

ActiveViewIndex returns the 1-based index of the

Read only

 

current view (tab).

 

 

 

 

CausesValidation

Returns/sets whether validation occurs on the control

Read/Write

 

which lost focus.

 

 

 

 

Container

Returns the container of an object.

Read/Write

DisplayBackgroundEdge

Determines if the report is offset from the edge of its

Read/Write

 

view window.

 

 

 

 

DisplayBorder

Returns or sets the border of the viewer object.

Read/Write

 

 

 

DisplayGroupTree

Returns or sets the visibility of the group tree.

Read/Write

Smart Viewer Object Models

143

Property

Description

Read/Write

 

 

 

 

 

 

DisplayTabs

Returns or sets whether the viewer has tabs for

Read/Write

 

navigation between views.

 

DisplayToolbar

Returns or sets the visibility of the toolbar.

Read/Write

 

 

 

DragIcon

Returns or sets the icon to be displayed as the pointer

Read/Write

 

in a drag-and-drop operation.

 

 

 

 

DragMode

Returns or sets a value that determines whether

Read/Write

 

manual or automatic drag mode is used.

 

 

 

 

 

Constant

Value

 

 

 

 

 

 

 

 

 

 

Automatic

1

 

 

 

 

 

 

Manua

0

 

 

 

 

 

 

 

 

 

Property

Description

 

Read/Write

 

 

 

 

 

 

EnableAnimationCtrl

Returns or sets whether or not the animation control is

Read/Write

 

visible.

 

 

 

 

 

EnableCloseButton

Returns or sets the visibility of the close button.

Read/Write

EnableDrillDown

Returns or sets whether drill down is available.

Read/Write

 

 

 

EnableExportButton

Returns or sets the status of the Export toolbar button.

Read/Write

 

 

 

EnableGroupTree

Returns or sets whether or not the group tree is

Read/Write

 

available.

 

 

EnableNavigationControls

Returns or sets whether or not the viewer has

Read/Write

 

navigation controls.

 

 

 

 

EnablePopupMenu

Determine if the pop menu is available. Design-time

Read/Write

 

only.

 

 

EnablePrintButton

Returns or sets the visibility of the Print button.

Read/Write

 

 

 

EnableProgressControl

Returns or sets the visibility of the progress control.

Read/Write

 

 

 

EnableRefreshButton

Returns or sets the visibility of the Refresh button.

Read/Write

 

 

 

EnableSearchControl

Returns or sets the visibility of the search control.

Read/Write

 

 

 

EnableSearchExpertButton

Returns or sets the status of the Search Expert toolbar

Read/Write

 

button.

 

 

 

 

 

EnableSelectExpertButton

Returns or sets the visibility of the Select Expert

Read/Write

 

button.

 

 

 

 

 

EnableStopButton

Returns or sets whether the viewer displays the stop

Read/Write

 

button.

 

 

 

 

 

EnableToolbar

Returns or sets the visibility of the toolbar.

Read/Write

 

 

 

EnableZoomControl

Returns or sets the visibility of the zoom control.

Read/Write

 

 

 

Height

Returns/sets the height of an object.

Read/Write

Smart Viewer Object Models

144

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