First thanks for the response I got yesterday on what I presented as a Tab Order problem.
Am running a VP6 form from a real old FoxPro accounting system. It has a bunch of menu generation overhead and these huge procedure files... On one of their screens which is handwritten with says and gets I call this form. it is modeless, default show window, with a read events statement after the do myform statement. Form works fine however, after clicking on the edit button I set focus to one of the controls, if I tab out of it the cursor progresses to the next control, if I use the mouse I can progress to the next control. However pressing enter always executes the buttons click event! Thought that was strange so I checked the behavior on another form (called from another button on the malfunctioning button). Exact same scenario, but after setting focus on the control I can successfully press enter and move to the next.... So I wrote a quick test form with three text boxes and executed roughly the same code in a button on that form. Executed the from the same place and once again I could successfully move from control to control using the enter button. The problem I have with pressing the enter key and having the click fire is that the user could save something prematurely and then will have to click the edit button to finish their edits. I apologize for my long "windedness" , but am totally baffled why it works on every other form, except this one? BTW I even rebuilt the form (copying the contents of my methods) and no joy? Does anyone have any ideas? Regards, Desmond --- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html --- _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/caajxvanq3myo4qqcjdqcjbj1crflvumszlabqnnzj4fnx3u...@mail.gmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

