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

Changing Cursor is not Working on some Controls

1 Answer 354 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Ali
Top achievements
Rank 1
Ali asked on 15 Dec 2015, 07:28 AM
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.

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 15 Dec 2015, 11:07 AM
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
Tags
General Discussions
Asked by
Ali
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or