subform LostFocus

J

johnlute

Good day!

I can't seem to grasp the LostFocus event - hope someone can help! I
simply want to fire some code when a subform loses focus. I'm going
nuts trying to make this happen.

As I understand it only when a subform has no controls can it have the
focus otherwise controls on the subform are what have the focus. Is
this correct?

If so, how can I make a subform with controls fire some code when a
user clicks away from the subform?

Any help is GREATLY appreciated! Thanks!
 
M

Marshall Barton

johnlute said:
I can't seem to grasp the LostFocus event - hope someone can help! I
simply want to fire some code when a subform loses focus. I'm going
nuts trying to make this happen.

As I understand it only when a subform has no controls can it have the
focus otherwise controls on the subform are what have the focus. Is
this correct?

If so, how can I make a subform with controls fire some code when a
user clicks away from the subform?


Try using the subform CONTROL's Exit event.
 

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

Top