You must have a setfocus call in a when, valid, etc method somewhere. Perhaps some inherited code?
http://www.vfug.org/Newsletters/AvoidingTheCannotCallSetFocusFromWithinAWhenValidErrorMessage.htm -- rk -----Original Message----- From: ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of Kurt Wendt Sent: Wednesday, June 19, 2013 1:08 PM To: profoxt...@leafe.com Subject: RE: A Focus Problem - Not a Lack of Concentration! OK - Rafael - now I really AM Going to Pull My Hair OUT!!! I did as you suggested - I put code into the LostFocus event - for the Style and the Color fields. Well - I just got the well known error: "Cannot call SetFocus from within a When, Valid, RangeHigh or RangeLow event." Which I find to be QUITE Peculiar - since, in fact - I put the new line of code into the SetFocus Method - which is NOT Listed in the Error above! So - I have no clue as to why its giving that particular error... -K- _______________________________________________ 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/DF1EEF11E586A64FB54A97F22A8BD0442280B39D28@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.