In case it's not clear from the VFP help, you cannot call SETFOCUS from a VALID event. The workaround is to use the LOSTFOCUS event and RETURN a reference to the object you want to navigate to which should override the defined TAB order.
Having said that, it's entirely possible there was something around that which was fixed in SP2 with the last hotfixes we will ever see and I wouldn't run any earlier versions of VFP9 this far down our joint road to senescence. ;-) -- rk -----Original Message----- From: ProfoxTech [mailto:[email protected]] On Behalf Of Andrew Stirling Sent: Friday, February 28, 2014 10:24 AM To: [email protected] Subject: Re: Leaving a grid box via valid Thanks Peter, Dave & Rafael I'll use the Lostfocus event. I'm using VFP9 service pack1, so the 'RETURN thisform.cmdSendTest' should have worked re the help file. I even tried a standard grid in case it was my framework getting in the road. Dave, I will have a look at RaiseEvent, never tried that before. Kind regards _______________________________________________ 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/DF1EEF11E586A64FB54A97F22A8BD04422A5167ECD@ACKBWDDQH1.artfact.local ** 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.

