How do I find out which control has focus in .NET Windows Forms?

Jeff picture Jeff · Mar 18, 2009 · Viewed 63.4k times · Source

How do I find out which control has focus in Windows Forms?

Answer

Ken Browning picture Ken Browning · Mar 18, 2009

Form.ActiveControl may be what you want.