gettingstarted
[Top] [All Lists]

SetFocus not doing What's expected

To: Getting Started <gettingstarted at lists dot realsoftware dot com>
Subject: SetFocus not doing What's expected
From: Robert Poland <rpoland at usa dot net>
Date: Wed, 30 Aug 2006 20:45:26 -0600
Delivered-to: listarchive at realsoftware dot com
Delivered-to: gettingstarted at lists dot realsoftware dot com
Hi,

This routine is in the "LostFocus" of a field. If I tab thru the field when I leave Editfield1 the focus disappears. If I tab again the focus goes to the first field, Not Editfield1. Are there some rules I'm not aware of?

 If Editfield1.text<>"" then
    do stuff
  else
    ClearFocus
    Editfield2.SetFocus //Move to next field
  End If

Tia,

Robert Poland
rpoland at usa dot net



_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>