Triggering Input Array Events

"Shaun Nolan" <[email protected]> Thu, 23 Mar 2006 09:59:11 -0000
Newsgroups gmane.comp.lang.4gl.fourjs.user
Message-ID <[email protected]>
Is there any way of mapping the return key so that it triggers the AFTER
FIELD event?

I'm using an input array statement and my users want to be able to hit
the return key to move to the next field - as this is how the program
used to work before moving to Genero.  I've got the ACCEPT KEY mapped to
F39 so that the return key doesn't throw me out of the INPUT.  But, I
can't get the return key to do what I want.  I tried creating a hidden
action to detect the return key, which works but, I can't trigger an
AFTER FIELD event.  At best, I can have a label to execute the code in
the AFTER FIELD event, however, the user doesn't get dropped down to the
next line of input.

Any ideas?


Regards,

Shaun.
__________________________
Shaun Nolan
Support Analyst/Programmer
Haden Young Limited
Winner of Building Services Awards Health & Safety Initiative of the
Year 2005

Tel: 01923 295033
Fax: 01923 295101
Email : [email protected]
Web Site: www.hadenyoung.co.uk

This email may contain information which is confidential and is intended
only for use of the recipient/s named above. If you are not an intended
recipient, you are hereby notified that any copying, distribution,
disclosure, reliance upon or other use of the contents of this email is
strictly prohibited. If you have received this email in error, please
notify the sender and destroy it.
The company does not provide advice, opinion or enter into any form of
contract using Email or any attachment accompanying it.