Shouldn't that be called in the Valid event? Then it will return 0/.F. 
to prevent loss focus. 1/.T. to go to the next focusable object.

Tracy

Jeff Johnson wrote:
> I have a text box that validates the data entered and if the data is 
> invalid a messagebox pops up.  If they say Ok to continue then it should 
> move focus to the next textbox.  If they say No then focus should remain 
> on the current textbox.  I have this code in the lostfocus of the 
> textbox.  It doesn't matter what they answer, the focus moves to the 
> next textbox.  How can I accomplish this?
> 
> TIA
> 

_______________________________________________
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