cancel
Showing results for 
Search instead for 
Did you mean: 

Mouse Scroll Wheel - To scrollview in the CrystalReportViewer.

Former Member
0 Kudos

Hi. It is convenient to use the mouse scroll wheel to view crystal reports in the viewer more quickly.

How?

I am using VS2008 & CR2008. Vista Business. latest patches.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Ajay,

As you want to view reports more quickly it depends on performance of report.

For performance see if the thread helps:

[;

Try with this code this will change the vertical scroll position of the report window.

int position = 20;
 
TabControl boTabControl = (TabControl) crystalReportViewer1.Controls[0].Controls[0];
TabPage boTabPage = boTabControl.TabPages[0];
 
if (position < boTabPage.VerticalScroll.Maximum)
	boTabPage.VerticalScroll.Value = position;
 
crystalReportViewer1.Refresh();

Regards,

Shweta

Former Member
0 Kudos

Let me clarify more. Once the report is open in the viewer, I would like to use the mouse scroll wheel to scroll view different parts of the the same page b/c the entire page does not fit on my screen.

Answers (1)

Answers (1)

0 Kudos

Check your mouse driver, it is responsible for hooking into the viewer form.

Former Member
0 Kudos

Nothing. The wheel works fine.

THe problem is that you have to select something in the report first then the scroll wheel is effective.

Edited by: Ajay Shah on Jan 28, 2009 6:49 PM

former_member184995
Active Contributor
0 Kudos

Thats pretty much how it works. I dont know of a way to make it scroll without clicking on it to make it the active object for the mouse wheel.