How do I get a reference to the currently focused control?

  • Thread starter Thread starter OC
  • Start date Start date
From inside the scope of the Form object:

[C#]
this.ActiveControl

[VB]
Me.ActiveControl
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top