SetFocus issues at VB.NET

Hi,

    I have face an issues deals with the VB.NET SetFocus property using Microsoft.NET 2.0. When I program and set the specific textbox to the textbox, it doesn't focus the mouse pointer to the textbox control. Please advice how to program ad set the mouse pointer point the specific textbox control.




Answer this question

SetFocus issues at VB.NET

  • Andr Big

    The focused control is the control that will receive keyboard input, and this is independent on where the mouse pointer is.

    If you want to change the mouse pointer, you can set

    System.Windows.Forms.Cursor.Position

    property.

    Best regards,
    Johan Stenberg

     



  • SetFocus issues at VB.NET