How can I detect when a user tabs out of a field
Steve Smith (11/10/08 9:14AM)
Douglas Davis (11/10/08 9:23AM)
Jeff Grann (11/10/08 9:53AM)
John DeSoi (11/10/08 9:57AM)
bob.miller at parker.com (11/10/08 11:14AM)
Steve Smith (11/10/08 9:14 AM)
4D 2004.7 Mac OS x 10.4.11
I'd like to determine when a user tabs out a certain field/variable and
perform an accept of the current entry. I can't use on losing focus as
there
are checkboxes on the form that might be clicked after the user enters
something in the field. On before keystroke doesn't seem to fire for
the Tab
key. I tried testing the keystroke in the on losing focus event but
that
just returns the last char entered not the tab.
I have made a workaround by having the tab move to the accept button
which
then responds to the on getting focus to fire but it seems sort of
kludgy.
Any suggestions would be appreciated
TIA
Steve Smith
Douglas Davis (11/10/08 9:23 AM)
On Losing Focus will allow you to know when they left a field. You
will
need to set up some sort of trigger to tell which field was left
though.
--
| Douglas S. Davis - Information Systems Coordinator
| Monical Pizza Corporation (http://www.monicals.com)
| - - - - - - - - - -
| 815/937-1890 - Voice . . . 815/937-9828 - Fax
Jeff Grann (11/10/08 9:53 AM)
How about trying On After Keystroke?
-----
Jeff Grann
SuccessWare, Inc.
John DeSoi (11/10/08 9:57 AM)
On Nov 10, 2008, at 9:14 AM, Steve Smith wrote:
I'd like to determine when a user tabs out a certain field/variable
and
perform an accept of the current entry. I can't use on losing focus
as there
are checkboxes on the form that might be clicked after the user enters
something in the field. On before keystroke doesn't seem to fire for
the Tab
key. I tried testing the keystroke in the on losing focus event but
that
just returns the last char entered not the tab.
If you want to write something generic, why not 'On Data Change' and
'On Clicked' to handle fields, variables, and checkboxes?
John DeSoi, Ph.D.
bob.miller at parker.com (11/10/08 11:14 AM)
<OF9F975311.106B7C87-ON852574FD.005917CC-852574FD.005934D6@...
How about the On Losing Focus form event? This works regardless of
whether
you tab out of the field or click out of the field.
- Bob Miller
Parker Hannifin Corp.
"PLEASE NOTE: The preceding information may be confidential or
privileged. It only should be used or disseminated for the purpose
of conducting business with Parker. If you are not an intended
recipient, please notify the sender by replying to this message and
then delete the information from your system. Thank you for your
cooperation."
Reply to this message
Summary created 11/10/08 at 12:44PM by Intellex Corporation
Comments welcome at: feedback@intellexcorp.com