Page 1 of 1

3 Line Edit Field

Posted: Thu Oct 23, 2014 2:23 pm
by Googie85
Hello Guys,

I am trying to make an edit box so that it is locked at 3 lines. What I have now is a field that can go on forever... Any help would be greatly appreciated!

Many Thanks,

Matthew.

Re: 3 Line Edit Field

Posted: Thu Oct 23, 2014 2:28 pm
by Klaus
Hi Matthew,

add this to the field script:

Code: Select all

on returninfield
   if the num of lines of me < 3 then
      pass returninfield
   end if
end returninfield
:D


Best

Klaus

Re: 3 Line Edit Field

Posted: Thu Oct 23, 2014 2:52 pm
by Googie85
Thank you so much...