How do I trap the "Enter" event anywhere in a form?

  • Thread starter Thread starter tgif
  • Start date Start date
T

tgif

I tried trapping on the Enter event within a form, but it doesn't seem to
fire. Is there some way to do this? (I want to default to "Logon" when Enter
is pressed within a form without actually having to mouse to the button.
 
* "tgif said:
I tried trapping on the Enter event within a form, but it doesn't seem to
fire. Is there some way to do this? (I want to default to "Logon" when Enter
is pressed within a form without actually having to mouse to the button.

Please don't multipost. I gave you a reply in the other group.
 
The other post was a mistake. I didn't realize I was in the controls group
and this was a forms related question.
 
Thanks... Excellent response. This was perfect and turned out to be much
simpler than I expected.

Works like a champ now.
 
Back
Top