Hi,

If the field height is divided by the textHeight, the result is the number of lines.
You can then limit the number of lines.
See textHeight and keyDown in the docs. Don't know if the spacebar can be used with keyDown.

Regards ... Bob


on Tue, 10 Jul 2007 15:55:00 -0700 (PDT) haribo <[EMAIL PROTECTED]> wrote:

Sarah Reichelt-2 wrote:

On 9/17/06, William de Smet <[EMAIL PROTECTED]> wrote:
Hi there,

I made a field which is 500(width) x 530(height) pixels and now I am
looking for a way to limit the text input in this field based upon the
height of the field.
I dont want more text than the height of the field.


If you set the autoTab of a field to true, when the user gets to the
last line and presses Return or Enter, it will be as if they pressed
Tab to go to the next field. They won't be able to enter more lines
than are visible.

Cheers,
Sarah
_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


works fine, but
is there any way to set it to the spacebar, if the user dont click the
enterkey it dont work.
ralle
--

Hi,

If the field height is divided by the textHeight, the result is the number of lines.
You can then limit the number of lines.
See textHeight and keyDown in the docs. Don't know if the spacebar can be used with keyDown.

Regards ... Bob

_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to