Active Control

bghanim

Active member
Joined
Dec 5, 2006
Messages
40
Location
Abu Dhabi - UAE
Programming Experience
1-3
Hello All,
In ymy application, aI need to know the currnet selected control i.e. there's 5 textBoxes, how can I know which textBox has the cursor in.???

Regards,
Baha A. Ghanim
 
Have you tried the Form.ActiveControl property? Access current form instance with the 'Me' keyword.
 
Back
Top