Vb.net windows app (can't change the behavior of the cursor)

Proposed Vb.net windows app (can't change the behavior of the cursor)

  • Friday, May 11, 2012 2:53 PM
     
     

    Hi,

    I have an pp in vb.net this app as a tabcontrol when the cursor is over the tab it appear as Waiting. I try to change the behavior by changing the property of the tab to default.  When I change, it goes back again to waitcursor.

    What can I do?

    Thanks


    PR

All Replies

  • Friday, May 11, 2012 3:57 PM
     
     Proposed

    I guess the tabControls UseWaitCursor property is set to true?

  • Tuesday, May 15, 2012 7:26 AM
    Moderator
     
      Has Code

    Hi PedroRiver,
    How is it going with sarath’s suggestion?
    Does the following code works for you?

    this.tabControl1.UseWaitCursor = false;
    this.tabControl1.Cursor = System.Windows.Forms.Cursors.Default;

    If not, could you give some code fragment relate to the Tab Control or Share a demo which can reproduce this issue?
    Best Regards,


    Bob Wu [MSFT]
    MSDN Community Support | Feedback to us