What can I know what component is getting focus?

  • Thread starter Thread starter Vanessa
  • Start date Start date
V

Vanessa

Hi all!

I have one combobox, two grids and nine textbox. All textbox are tab index
one following another. When I press tab I go to the next textbox. How can I
known if I click on another component, like the combobox?

Thank you!
Vanessa
 
I am not sure whether I understand the question correctly.
However, Form has ActiveControl property, which can help to find
control in focus.

Does that help?

Kalpesh
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top