This is a migrated thread and some comments may be shown as answers.

RadScrollbar Mouse wheel event

3 Answers 236 Views
ScrollBar
This is a migrated thread and some comments may be shown as answers.
Hassan
Top achievements
Rank 1
Hassan asked on 23 Jan 2009, 10:49 AM
Hi,

I am using RadScrollbar control with the System.Windows.forms.Webbrowser control instead of its default scrollbars and I am handling it by mouse click event and its working fine but I also need to handle the mouse wheel event for the RadScrollbar. Could you please help me in this regard. 

Thanks and regards

Hassan

3 Answers, 1 is accepted

Sort by
0
Mike
Telerik team
answered on 27 Jan 2009, 08:10 AM
Hi Hassan,

Thanks for writing.
Can you give us more details of your scenario. Generally you can handle the MouseWheel event of your RadSCrollBar, if this would help. Otherwise can you please specify what would like to achieve with RadScrollBar and the mouse wheel event?
I am looking forward to your response.

Regards,
Mike
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Hassan
Top achievements
Rank 1
answered on 27 Jan 2009, 03:11 PM
Hi,

I am using RadVScrollBar and could not able to find MouseWheel event with it. As you are referring to RadScrollBar so could you please tell me how to access it.

Currently I am using RadTreeview and web browser control on a form and problem is that the theme of both controls scrollbars are different, so for this purpose I add a RadVScrollBar for the web browser and use the same theme as on RadTreeView. The RadVScrollBar is successfully attached with the web browser but the only functionality left is the MouseWheel scrolling. 

If you can provide an example that would be greatly appreciated.

Thanks and regards

Hassan
0
Mike
Telerik team
answered on 29 Jan 2009, 06:26 PM
Hi Hassan,

I reffered to the MouseWheel event of Control class:
http://msdn.microsoft.com/en-us/library/system.windows.forms.control.mousewheel.aspx
You can handle it using code, as explained in the article. Please try it and let me know if you have any troubles.

Greetings,
Mike
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
ScrollBar
Asked by
Hassan
Top achievements
Rank 1
Answers by
Mike
Telerik team
Hassan
Top achievements
Rank 1
Share this question
or