Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
'This is a rough sketch
For Each Control ctl In CrystalReportViewer.Controls
If ctl.GetType() = GetType(PageControl) Then
ctl.Focus()
End If
Next
Sub cvw_MouseWheel(sender As Object, e As MouseEventArgs)
Dim ctlPageview As Control = Null
For Each ctl As Control In cvw.Controls
If (ctl.GetType() = GetType(PageView)) Then
ctlPageview = CType(ctl, PageView)
End If
Next
If ctlPageview <> Null Then
Dim ctlDocument As DocumentControl = Null
For Each ctl As Control in ctlPageview.Controls
If ctl.GetType() = GetType(TabControl) Then
ctlDocument = CType(CType(ctl, TabControl).SelectedTab, DocumentControl)
End If
Next
If ctlDocument <> Null Then
Dim pnt As Point = ctlDocument.AutoScrollPosition
pnt.Offset(0, 5 * e.Delta)
ctlDocument.AutoScrollPosition = pnt
End If
End If
End Sub