Click here to Skip to main content
15,896,726 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi i am working on a windows form application and i face a necessity to use key_press event on the form. and if the key_press event is currently applied for the textboxes then i will do something.
so the question is that how i will come to know in my code behind that the currently focused control is a textbox??
any help will b highly appreciated. :)
Posted

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900