Changing Cursor is not Working on some Controls

2 posts, 0 answers
  1. Ali
    Ali avatar
    3 posts
    Member since:
    Dec 2015

    Posted 15 Dec 2015 Link to this post

    Hi

    I have a problem with changing form's Cursor, I have set a major cursor all over the form. It works fine every where.
    But I have found some areas that cursor will change into windows default cursor.

    - On SubMenus of Drop Down Objects
    - On Start Menu of Rad Ribbon Bar

    Where is the problem? 
    Why does cursor change into windows default as long as I have set a major cursor for the whole form?

    I have attached an image for more detailed information.
  2. Dess
    Admin
    Dess avatar
    1609 posts

    Posted 15 Dec 2015 Link to this post

    Hello Ali,

    Thank you for writing.
     
    Here is a sample code snippet demonstrating how to assign a specific cursor to the Form and to the popup menus: 
    public Form1()
    {
        InitializeComponent();
     
        //set the form's cursor
        this.Cursor = Cursors.Hand;
     
        //set the dropdown's cursor
        this.radMenuItem1.DropDown.Cursor = Cursors.Hand;
     
        //set application menu's cursor
        this.radRibbonBar1.RibbonBarElement.ApplicationButtonElement.DropDownMenu.Cursor = Cursors.Hand;
    }

    I hope this information helps. Should you have further questions I would be glad to help.
     
    Regards,
    Dess
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top