Actually - I did Exactly that - Full object name w/container and all - but, alas - it didn't work! Not sure why...
-K- -----Original Message----- From: ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of Richard Kaye Sent: Wednesday, June 19, 2013 1:49 PM To: profoxt...@leafe.com Subject: RE: A Focus Problem - Not a Lack of Concentration! I realize you may be using shorthand for the actual code but if you're trying to use the RETURN <object> syntax to avoid the setfocus restrictions, you will need to use the full object hierarchy (i.e. RETURN thisform.mycontainer.mygrid.mycolumn.text1). BTW I have used this tip quite successfully to put the focus on a control other than the next one in the container TAB order. -- rk -----Original Message----- From: ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of Kurt Wendt Sent: Wednesday, June 19, 2013 1:33 PM To: profoxt...@leafe.com Subject: RE: A Focus Problem - Not a Lack of Concentration! Nope - the SetFocus - I only put it into the LostFocus Methods of Style & Color fields. When I put it in there - CRASH - take it out - No Crash! I looked at the link below - and I tried to follow this one suggestion - his alternate to SetFocus - with a command like (in the end of the Valid): RETURN ThisForm.Text1 Now - previously I was trying something similar - using just the number 1 - as was talked about in a previous thread here. And, it didn't work. So - I tried the suggestion above - putting in the Object name as shown above - and, of course - guess what!?!? It didn't work! Man is this frustating. So - for now - just so I could Move On - I did the Kludge. At the end of each valid - for Style & Color - I just turned Enabled to False for those Text Boxes - and sure enough - that worked. Problem is - if user wants to go back and Edit those fields again - they can't! But, I may worry about that at a later time... -K- [excessive quoting removed by server] _______________________________________________ Post Messages to: ProFox@leafe.com 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/A9FBF1402B8F425D887D39EDB5CF8610@Programming2 ** 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.