How to limit field to one line?

2005-11-02 Thread Garrett R. Hylltun
Greetings, Can anyone explain to me how to limit a field to only one line, and to intercept the return key from within that field? Any info is appreciated. Thanks in advance, -Garrett ___ use-revolution mailing list use-revolution@lists.runrev.com

Re: How to limit field to one line?

2005-11-02 Thread Eric Chatonet
Hi Garret, In the script of your field: on returnInField statements end returnInField This will prevent the return key to insert a carriage return and will execute your statements instead :-) Le 2 nov. 05 à 17:49, Garrett R. Hylltun a écrit : Can anyone explain to me how to limit a

Re: How to limit field to one line?

2005-11-02 Thread Garrett R. Hylltun
On Wed, 2 Nov 2005 17:54:09 +0100 Eric Chatonet [EMAIL PROTECTED] wrote: [snip] Best Regards from Paris, Eric Chatonet. Merci beaucoup Eric :-) -Garrett ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to

Re: How to limit field to one line?

2005-11-02 Thread Richard Gaskin
Garrett R. Hylltun wrote: Can anyone explain to me how to limit a field to only one line, and to intercept the return key from within that field? The text engine in Rev will accurately display lines up to 65,535 characters. Beyond that it seems the data is maintained, but display yields

Re: How to limit field to one line?

2005-11-02 Thread Roger . E . Eller
Garrett R. Hylltun wrote: Can anyone explain to me how to limit a field to only one line, set the lockText of fld x to true and to intercept the return key from within that field? -- Put this in the script of the field: on returnInField -- do something (or nothing) answer You pressed

Re: How to limit field to one line?

2005-11-02 Thread J. Landman Gay
Garrett R. Hylltun wrote: Greetings, Can anyone explain to me how to limit a field to only one line, and to intercept the return key from within that field? Besides the returnInField handler that others have mentioned, you can also limit the amount of text without any scripting at all. Just

Re: How to limit field to one line?

2005-11-02 Thread kee nethery
returnInField in case someone enters a return in the field. closeField in case someone pastes multiple lines of text into the field on returnInField put line 1 of me into me answer Only one line of text is allowed in this field. with :OK end returnInField on closeField if return is in me

Re: How to limit field to one line?

2005-11-02 Thread simplsol
: Re: How to limit field to one line? Garrett R. Hylltun wrote:    Can anyone explain to me how to limit a field to only one line,  and to intercept the return key from within that field?    The text engine in Rev will accurately display lines up to 65,535 characters. Beyond that it seems

Re: How to limit field to one line?

2005-11-02 Thread Richard Gaskin
[EMAIL PROTECTED] wrote: Richard, I'm finding that the display of data becomes unreadable somewhere around 40,000 characters (this may depend on the field width settings - I have not experimented with that - that many characters could not be shown on a a screen without scrolling anyway).

RE: How to limit field to one line?

2005-11-02 Thread MisterX
information off the field. Rev is a bit lower level here ;) cheers Xavier -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Richard Gaskin Sent: Wednesday, November 02, 2005 8:16 PM To: How to use Revolution Subject: Re: How to limit field to one line