Class: cCrystalICrystalReportViewer11

Module location: cCrystalActiveXReportViewer.pkg line 88 (view source)

CLSID: {3FA3EA6B-D886-4689-87E5-2EFB3101F16B} Interface to the Crystal Report Viewer Control

Class Hierarchy:

cObjectMixincCrystalICrystalReportViewer11

Class Definition

Functions and Procedures

ComActivateView(Variant llIndex)
ActivateView activates a particular view by 1-based index
ShortComActiveViewIndex()
ActiveViewIndex returns the 1-based index of the current view (tab)
ComAddView(Variant llGroupPath)
AddView adds a new view (tab). GroupPath can be a colon-delimited string (Country:State:City), a safe array of strings (Country, State, City), or a safe array of longs (1, 2, 0).
ComCloseView(Variant llIndex)
CloseView closes the view, given the 1-based index number of the view. S_FALSE is returned if the user was prompted to close drill-down or subreport views and elected not to proceed.
BooleanComDisplayBackgroundEdge()
Determines if the report is offset from the edge of its view window.
BooleanComDisplayBorder()
DisplayBorder indicates if the viewer has a border
BooleanComDisplayGroupTree()
Determine if the group tree is visible
BooleanComDisplayTabs()
DisplayTabs indicates if the viewer has tabs for navigation between views
BooleanComDisplayToolbar()
Determine if the toolbar is visible
BooleanComEnableAnimationCtrl()
Determine if the animation control is visible
BooleanComEnableCloseButton()
Determine if the close button is visible
BooleanComEnableDrillDown()
Deterimine if drill down is allowed
BooleanComEnableExportButton()
Status of the Export toolbar button
BooleanComEnableGroupTree()
Determine if the group tree is available
BooleanComEnableHelpButton()
Enable the help button on the toolbar
BooleanComEnableNavigationControls()
Determines if the viewer has navigation controls
BooleanComEnablePopupMenu()
Determine if the pop menu is available
BooleanComEnablePrintButton()
Determine if the print button is visible
BooleanComEnableProgressControl()
Determine if the progress control will be shown
BooleanComEnableRefreshButton()
Determine if the Refresh button is visible
BooleanComEnableSearchControl()
Determine if the search control is visible
BooleanComEnableSearchExpertButton()
Status of the Search Expert toolbar button
BooleanComEnableSelectExpertButton()
Determine if the Select Expert button is showing
BooleanComEnableStopButton()
Determines if the viewer has a stop button
BooleanComEnableToolbar()
EnableToolbar indicates if the viewer has a toolbar (shown or hidden)
BooleanComEnableZoomControl()
Determine if the zoom control is visible
IntegerComGetCurrentPageNumber()
GetCurrentPageNumber returns the page number of the report being viewed
VariantComGetGroup()
Get the group path of the current view. The the VT type of the VARIANT to control the type of result: VT_ARRAY | VT_I4 or VT_BSTR
ComGetLastPageNumber(Integer ByRef llpageN Boolean ByRef lllastPageKnown)
Get the last page number. The last page number may not have been calculated so it may not be known. For Visual Basic, a Long and a Boolean should be passed, Procedure style.
StringComGetViewName(String ByRef llpTabName)
GetViewName returns the current view's tab name and the current report document's name.
VariantComGetViewPath(Short llIndex)
GetViewPath returns the path to the current view, given the 1-based index number of the view. Path contains a safe array of strings
BooleanComIsBusy()
IsBusy indicates if the control is busy.
BooleanComLaunchHTTPHyperlinksInNewBrowser()
Launch HTTP Hyperlinks in a new browser
UIntegerComLocaleID()
Get the locale ID
ComPrintReport()
PrintReport initiates printing of the report in the current view
ComRefresh()
Refresh causes the view information to be reloaded and displayed
ComRefreshEx(Boolean llrefreshServerData)
Refresh the report, optionally causing the server to refresh its data
VariantComReportSource()
Get the report source
ComSearchByFormula(String llformula)
Search using the search formula. Search UI is shown if formula is empty.
ComSearchForText(String llText)
SearchForText allows searching for text across pages of the current view
ComShowFirstPage()
ShowFirstPage shows the first page of the current view
ComShowGroup(Variant llGroupPath)
ShowGroup displays the indicated group in the current view. GroupPath can be a colon-delimited string (Country:State:City), a safe array of strings (Country, State, City), or a safe array of longs (1, 2, 0).
ComShowLastPage()
ShowLastPage shows the last page of the current view
ComShowNextPage()
ShowNextPage shows the next page of the current view
ComShowNthPage(Short llPageNumber)
ShowNthPage shows the desired page of the current view
ComShowPreviousPage()
ShowPreviousPage shows the previous page of the current view
VariantComTrackCursorInfo()
Get the TrackCursorInfo object
ShortComViewCount()
ViewCount returns the current number of views (tabs)
ComViewReport()
ViewReport
ComZoom(Short llZoomLevel)
Zoom changes the display of the report. All numbers are percentages except: 1 - fit width, 2 - fit page
Set(Variant value)
Get the report source
Set(Boolean value)
Determine if the group tree is visible
Set(Boolean value)
Determine if the toolbar is visible
Set(Boolean value)
Determine if the group tree is available
Set(Boolean value)
Determines if the viewer has navigation controls
Set(Boolean value)
Determines if the viewer has a stop button
Set(Boolean value)
Determine if the print button is visible
Set(Boolean value)
Determine if the zoom control is visible
Set(Boolean value)
Determine if the close button is visible
Set(Boolean value)
Determine if the progress control will be shown
Set(Boolean value)
Determine if the search control is visible
Set(Boolean value)
Determine if the Refresh button is visible
Set(Boolean value)
Deterimine if drill down is allowed
Set(Boolean value)
Determine if the animation control is visible
Set(Boolean value)
Determine if the Select Expert button is showing
Set(Boolean value)
EnableToolbar indicates if the viewer has a toolbar (shown or hidden)
Set(Boolean value)
DisplayBorder indicates if the viewer has a border
Set(Boolean value)
DisplayTabs indicates if the viewer has tabs for navigation between views
Set(Boolean value)
Determines if the report is offset from the edge of its view window.
Set(Boolean value)
Determine if the pop menu is available
Set(Boolean value)
Status of the Export toolbar button
Set(Boolean value)
Status of the Search Expert toolbar button
Set(Boolean value)
Enable the help button on the toolbar
Set(Boolean value)
Launch HTTP Hyperlinks in a new browser
Set(UInteger value)
Get the locale ID