Using PgUp and PgDn keys in the Crystal Report Viewer 
Author Message
 Using PgUp and PgDn keys in the Crystal Report Viewer

I'm shocked that the PgUp and PgDn keys don't work by default in the CR.NET Crystal Report Viewer. Fine, I'll do it myself by capturing the KeyPress event. By how?

    Private Sub CrystalReportViewer1_KeyPress(ByVal sender As Object, _
                                                                      ByVal e As System.Windows.Forms.KeyPressEventArgs) _
                                                                      Handles CrystalReportViewer1.KeyPress

        If e.KeyCode = <PgUp?>
            Me.CrystalReportViewer1.ShowPreviousPage()
        Endif

        If e.KeyCode = <PgDn?>
            Me.CrystalReportViewer1.ShowNextPage()
        Endif
    End Sub

Thanks,
TP



Tue, 26 Apr 2005 04:29:27 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Checking for PgUp/PgDn keys

2. Keys (Up, Down, Enter, Pgup, Pgdn etc.)

3. Passing Parameters from C# to Crystal Report / Crystal Report Viewer

4. Problem using crystal report viewer

5. Using Access form as Crystal Reports viewer

6. Report displayed using Crystal ActiveX viewer shows blank pages after scroll to last page

7. using Crystal Report Viewer control

8. Using Crystal Reports Viewer with Microsoft Access

9. ActiveX Problem Using Crystal Reports Viewer

10. Crystal 9 and the Crystal report viewer OCX.

11. Invalid Report Source Error in Crystal Report Viewer

12. distributing app using report and report viewer from RDC 6.0

 

 
Powered by phpBB® Forum Software