Click here to Skip to main content
15,892,537 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi guys,

Can anyone tell me, how to get the focus point, if it is in a textbox or not?

Thank you.
Posted
Updated 28-Nov-10 10:33am
v2

You can check

Me.ActiveControl 


of your form.
 
Share this answer
 
Comments
Dalek Dave 29-Nov-10 18:41pm    
Good Call.
Yes my friend , thank you for this , But i exactly mean .. is that how to get it out side of my program .. I mean where the User now is typing .. how to determine that ?? i mean .. if he is writing in text box or URL area ..

.......... :)
 
Share this answer
 

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