Try the LostFocus method.

::michael
On Nov 29, 2010 7:53 AM, "Michael Savage" <[email protected]> wrote:
> I'm having a senior moment...
> How do I get around the error:
>
> Cannot call setfocus method, from valid, rangehigh, rangelow, etc...
> After I click on a button, I want to set focus to a control based on the
> value returned from the form from the button. I put the return code in
> the button's valid event...
> ie thisform.newcontrol.setfocus and the above error occurs...
>
> Definitely not nice :)
>
> TIA,
> Mike
>
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** 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.

Reply via email to