Rocky Smolin - Beach Access Software
bchacc at san.rr.com
Fri Mar 17 08:16:17 CST 2006
Stuart: Thanks. That would be the global solution. Had another weird problem occur - one of my events stopped working altogether. It was a click event. Other events continued to work, this one just wouldn't. Eventually I traced it down to a compile error in an unrelated module - it was in another form's code! Once I had a clean compile, the click event worked. Any compile error and this event stopped. Although other events continued to work correctly. Ever seen this behavior before? Regards, Rocky Stuart McLachlan wrote: > On 16 Mar 2006 at 5:58, Rocky Smolin - Beach Access Software wrote: > > >> Stuart: >> >> Thanks for having a look at this. (You might have to relink the back >> end tables.) >> >> Login as Curly - password curly. >> >> The tabbed form and KeyDown routine are in the Orders form off the Main >> Menu. The tabbed form IS full of sub-forms. Someone suggested that might >> be causing problems. >> >> > > Yes, that's it. Once you tab to another page, the subform gets the focus and that subform > doesn't have KeyPreview on. You will need to set keypreview on for all the subforms. Then > call a generic procedure in the keydown to shift focus back to where you want it. > > > -- Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com