CLSID: {3FA3EA6B-D886-4689-87E5-2EFB3101F16B}
Interface to the Crystal Report Viewer Control
- Variant
ComReportSource()
Get the report source
- Integer
hDispatchDriver - Variant
retVal
Set(Variant value)
Get the report source
- Integer
hDispatchDriver
- Boolean
ComDisplayGroupTree()
Determine if the group tree is visible
- Integer
hDispatchDriver - Boolean
retVal
Set(Boolean value)
Determine if the group tree is visible
- Integer
hDispatchDriver
- Boolean
ComDisplayToolbar()
Determine if the toolbar is visible
- Integer
hDispatchDriver - Boolean
retVal
Set(Boolean value)
Determine if the toolbar is visible
- Integer
hDispatchDriver
- Boolean
ComEnableGroupTree()
Determine if the group tree is available
- Integer
hDispatchDriver - Boolean
retVal
Set(Boolean value)
Determine if the group tree is available
- Integer
hDispatchDriver
- Boolean
ComEnableNavigationControls()
Determines if the viewer has navigation controls
- Integer
hDispatchDriver - Boolean
retVal
Set(Boolean value)
Determines if the viewer has navigation controls
- Integer
hDispatchDriver
- Boolean
ComEnableStopButton()
Determines if the viewer has a stop button
- Integer
hDispatchDriver - Boolean
retVal
Set(Boolean value)
Determines if the viewer has a stop button
- Integer
hDispatchDriver
- Boolean
ComEnablePrintButton()
Determine if the print button is visible
- Integer
hDispatchDriver - Boolean
retVal
Set(Boolean value)
Determine if the print button is visible
- Integer
hDispatchDriver
- Boolean
ComEnableZoomControl()
Determine if the zoom control is visible
- Integer
hDispatchDriver - Boolean
retVal
Set(Boolean value)
Determine if the zoom control is visible
- Integer
hDispatchDriver
- Boolean
ComEnableCloseButton()
Determine if the close button is visible
- Integer
hDispatchDriver - Boolean
retVal
Set(Boolean value)
Determine if the close button is visible
- Integer
hDispatchDriver
- Boolean
ComEnableProgressControl()
Determine if the progress control will be shown
- Integer
hDispatchDriver - Boolean
retVal
Set(Boolean value)
Determine if the progress control will be shown
- Integer
hDispatchDriver
- Boolean
ComEnableSearchControl()
Determine if the search control is visible
- Integer
hDispatchDriver - Boolean
retVal
Set(Boolean value)
Determine if the search control is visible
- Integer
hDispatchDriver
- Boolean
ComEnableRefreshButton()
Determine if the Refresh button is visible
- Integer
hDispatchDriver - Boolean
retVal
Set(Boolean value)
Determine if the Refresh button is visible
- Integer
hDispatchDriver
- Boolean
ComEnableDrillDown()
Deterimine if drill down is allowed
- Integer
hDispatchDriver - Boolean
retVal
Set(Boolean value)
Deterimine if drill down is allowed
- Integer
hDispatchDriver
- Boolean
ComEnableAnimationCtrl()
Determine if the animation control is visible
- Integer
hDispatchDriver - Boolean
retVal
Set(Boolean value)
Determine if the animation control is visible
- Integer
hDispatchDriver
- Boolean
ComEnableSelectExpertButton()
Determine if the Select Expert button is showing
- Integer
hDispatchDriver - Boolean
retVal
Set(Boolean value)
Determine if the Select Expert button is showing
- Integer
hDispatchDriver
ComViewReport()
ViewReport
- Integer
hDispatchDriver
- Boolean
ComEnableToolbar()
EnableToolbar indicates if the viewer has a toolbar (shown or hidden)
- Integer
hDispatchDriver - Boolean
retVal
Set(Boolean value)
EnableToolbar indicates if the viewer has a toolbar (shown or hidden)
- Integer
hDispatchDriver
- Boolean
ComDisplayBorder()
DisplayBorder indicates if the viewer has a border
- Integer
hDispatchDriver - Boolean
retVal
Set(Boolean value)
DisplayBorder indicates if the viewer has a border
- Integer
hDispatchDriver
- Boolean
ComDisplayTabs()
DisplayTabs indicates if the viewer has tabs for navigation between views
- Integer
hDispatchDriver - Boolean
retVal
Set(Boolean value)
DisplayTabs indicates if the viewer has tabs for navigation between views
- Integer
hDispatchDriver
- Boolean
ComDisplayBackgroundEdge()
Determines if the report is offset from the edge of its view window.
- Integer
hDispatchDriver - Boolean
retVal
Set(Boolean value)
Determines if the report is offset from the edge of its view window.
- Integer
hDispatchDriver
- Variant
ComTrackCursorInfo()
Get the TrackCursorInfo object
- Integer
hDispatchDriver - Variant
retVal
- Short
ComActiveViewIndex()
ActiveViewIndex returns the 1-based index of the current view (tab)
- Integer
hDispatchDriver - Short
retVal
- Short
ComViewCount()
ViewCount returns the current number of views (tabs)
- Integer
hDispatchDriver - Short
retVal
ComActivateView(Variant llIndex)
ActivateView activates a particular view by 1-based index
- Integer
hDispatchDriver
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).
- Integer
hDispatchDriver
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.
- Integer
hDispatchDriver
- Variant
ComGetViewPath(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
- Integer
hDispatchDriver - Variant
retVal
ComPrintReport()
PrintReport initiates printing of the report in the current view
- Integer
hDispatchDriver
ComRefresh()
Refresh causes the view information to be reloaded and displayed
- Integer
hDispatchDriver
ComSearchForText(String llText)
SearchForText allows searching for text across pages of the current view
- Integer
hDispatchDriver
ComShowFirstPage()
ShowFirstPage shows the first page of the current view
- Integer
hDispatchDriver
ComShowNextPage()
ShowNextPage shows the next page of the current view
- Integer
hDispatchDriver
ComShowPreviousPage()
ShowPreviousPage shows the previous page of the current view
- Integer
hDispatchDriver
ComShowLastPage()
ShowLastPage shows the last page of the current view
- Integer
hDispatchDriver
ComShowNthPage(Short llPageNumber)
ShowNthPage shows the desired page of the current view
- Integer
hDispatchDriver
ComZoom(Short llZoomLevel)
Zoom changes the display of the report. All numbers are percentages except: 1 - fit width, 2 - fit page
- Integer
hDispatchDriver
- Integer
ComGetCurrentPageNumber()
GetCurrentPageNumber returns the page number of the report being viewed
- Integer
hDispatchDriver - Integer
retVal
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).
- Integer
hDispatchDriver
- Boolean
ComIsBusy()
IsBusy indicates if the control is busy.
- Integer
hDispatchDriver - Boolean
retVal
- Boolean
ComEnablePopupMenu()
Determine if the pop menu is available
- Integer
hDispatchDriver - Boolean
retVal
Set(Boolean value)
Determine if the pop menu is available
- Integer
hDispatchDriver
- Boolean
ComEnableExportButton()
Status of the Export toolbar button
- Integer
hDispatchDriver - Boolean
retVal
Set(Boolean value)
Status of the Export toolbar button
- Integer
hDispatchDriver
- Boolean
ComEnableSearchExpertButton()
Status of the Search Expert toolbar button
- Integer
hDispatchDriver - Boolean
retVal
Set(Boolean value)
Status of the Search Expert toolbar button
- Integer
hDispatchDriver
ComSearchByFormula(String llformula)
Search using the search formula. Search UI is shown if formula is empty.
- Integer
hDispatchDriver
- String
ComGetViewName(String ByRef llpTabName)
GetViewName returns the current view's tab name and the current report document's name.
- Integer
hDispatchDriver - String
retVal
- Boolean
ComEnableHelpButton()
Enable the help button on the toolbar
- Integer
hDispatchDriver - Boolean
retVal
Set(Boolean value)
Enable the help button on the toolbar
- Integer
hDispatchDriver
- Variant
ComGetGroup()
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
- Integer
hDispatchDriver - Variant
retVal
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.
- Integer
hDispatchDriver
ComRefreshEx(Boolean llrefreshServerData)
Refresh the report, optionally causing the server to refresh its data
- Integer
hDispatchDriver
- Boolean
ComLaunchHTTPHyperlinksInNewBrowser()
Launch HTTP Hyperlinks in a new browser
- Integer
hDispatchDriver - Boolean
retVal
Set(Boolean value)
Launch HTTP Hyperlinks in a new browser
- Integer
hDispatchDriver
- UInteger
ComLocaleID()
Get the locale ID
- Integer
hDispatchDriver - UInteger
retVal
Set(UInteger value)
Get the locale ID
- Integer
hDispatchDriver