>Craig - well I found my event-key cause.
>
>When I'd moved some code from Form.activate to Form.init one of the lines was a cmdbutton.setfocus()
>
>For whatever reason that then changed the behavior of the enter-key when in textboxes. Don't know where to start with the reasoning, suppose I'd have to look at the order of instantiation in the form.init, maybe the object I was setting focus to didn't exist at that time???
>
>Once again, thanks for taking the time to comment.
I've seen other people say that putting cmdbutton.setfocus in their form's init caused that cmdbutton to become the form's default button, which would cause pressing Enter to fire the button. There you go.
Rich.
Rich Addison, Micro Vane, Inc., Kalamazoo, MI
Relax, don't worry, have a homebrew.
- Charlie Papazian, The New Complete Joy of Home Brewing