Expression to check if form have focus?

  • Thread starter Thread starter Niklas Östergren
  • Start date Start date
N

Niklas Östergren

Hi!

What expression do I use to check if a form have focus?

I have tryed with several expressions like:

If Forms!frmPerson.GotFocus Then
...
End If

Or

Forms!frmPerson.GotFocus = True Then
...
End If

But no one of this works!

TIA!
// Niklas
 
Hi Nikos!

Thanks a lot! That would be just great for me!

// Niklas
 

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