Is it possible to ask a form which control currently has the focus?

A

Allen Browne

Each form has an ActiveControl

If you are using code in the module of the form, it would be like this:
Debug.Print Me.ActiveControl.Name
 

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

Similar Threads


Top