RE: keyboard

"Bryce Stenberg" <[email protected]>
Newsgroups gmane.comp.lang.4gl.fourjs.user
Message-ID <[email protected]>
Hi Henk,

I just did little test. I see what you mean as I was not able to disable
the return key either.
But could get similar effect by adding OPTIONS INPUT WRAP so if user
hits enter it does not leave the input until the accept key is
explicitly used, just wraps back to first field instead. Don't know if
any use in your situation however (and I had unreliable result using
control-a for accept but that might just be our environment, any other
accept key worked well). Sorry can't be of more help.

Regards,
  Bryce.


> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of H.J. Sanders
> Sent: Wednesday, 9 November 2005 9:06 p.m.
> To: [email protected]
> Subject: RE: [fourjs-users] keyboard
> 
> Hello Bryce
> 
> You are right , I mean
> 
> OPTIONS RETURN KEY CONTROL-A
> 
> so to disable the return-key, which syntax is not accepted by BDL.
> 
> Regards
> 
> Henk
> 
> 
> 
> > -----Oorspronkelijk bericht-----
> > Van: [email protected]
> > [mailto:[email protected]]Namens Bryce Stenberg
> > Verzonden: dinsdag 8 november 2005 22:13
> > Aan: [email protected]
> > Onderwerp: RE: [fourjs-users] keyboard
> > 
> > 
> > Hi,
> > 
> > Do you mean this syntax?
> > 
> > OPTIONS ACCEPT KEY CONTROL-A
> > 
> > Or
> > 
> > OPTIONS ACCEPT KEY CONTROL-M      <- for enter key?
> > 
> > Regards,
> >   Bryce Stenberg
> >   IT Department,
> >   Harness Racing New Zealand Inc.
> >   
> > 
> > > -----Original Message-----
> > > From: [email protected]
> > > [mailto:[email protected]] On Behalf Of H.J. Sanders
> > > Sent: Wednesday, 9 November 2005 5:22 a.m.
> > > To: [email protected]
> > > Subject: [fourjs-users] keyboard
> > > 
> > > 
> > > Hi group.
> > > 
> > > We want for our applications that we keyboard will behave like in 
> > > most windows-appliations.
> > > 
> > > So:
> > > 
> > > - TAB to move to another field
> > > - ENTER to accept and leave the screen.
> > > 
> > > This can be done by setting the ACCEPT KEY to RETURN / ENTER (in 
> > > OPTIONS).
> > > 
> > > However especially in the beginning this will cause 
> trouble for our 
> > > users so we want to be able to turn of the enter key in 
> the programs 
> > > until it is time that it may be used (at the end of the program).
> > > 
> > > In Informix you can do OPTIONS RETURN KEY = CONTROL-A.
> > > 
> > > However this is not possible in 4JS.
> > > 
> > > Support cannot help us.
> > > 
> > > Anybody found a solution?
> > > 
> > > Henk Sanders
> > > 
> > 
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.