RadScrollbar Mouse wheel event

4 posts, 0 answers
  1. Hassan
    Hassan avatar
    15 posts
    Member since:
    Jan 2009

    Posted 23 Jan 2009 Link to this post

    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
  2. Mike
    Admin
    Mike avatar
    640 posts

    Posted 27 Jan 2009 Link to this post

    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.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Hassan
    Hassan avatar
    15 posts
    Member since:
    Jan 2009

    Posted 27 Jan 2009 Link to this post

    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
  5. Mike
    Admin
    Mike avatar
    640 posts

    Posted 29 Jan 2009 Link to this post

    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.
Back to Top