Geekpedia Forums Logo

How to check if a textbox has focus?

by venkatesh padmanabhan on Tuesday, May 15th - 1:36 AM



Hi..
I need to check if a textbox has focus in it. How to check if a textbox has focus through c# code?

There's a GotFocus event that occures when the textbox receives focus. This will help you know which is the last field that got focus.

Please type your message here.