Page 1 of 1
[Solved] Text Box that can grow?
Posted: Sat Jun 07, 2008 10:49 am
by dgsarnow
I am making a template form for users to complete. One of the fields I want is a text box that can grow based on what my users enter into it. Some will write very little. Other will write a lot. i do not want to create a text box that is huge to accomodate the long writers (as they may write even more than the size I provide).
Does anyone know how to allow a text box or some other form entry control that will allow it to grow and shrink based on the entry?
Re: Text Box that can grow?
Posted: Sat Jun 07, 2008 2:21 pm
by squenson
As far as I am concerned, I would HATE a text box that changes size based on the volume of text I type. I type and look at the screen at the same time, and if suddenly the text box would change its size, it would create a really strange effect!
I suggest that you make your text box large enough and simply make sure that the vertical lift appears when the number of rows is more than the height of the box.
If you ABSOLUTELY want to change the size of the box 'on-the-fly', make a macro that checks that length of the content in the text box, and changes its width and height accordingly, and link this macro to the event "text modified".
Re: Text Box that can grow?
Posted: Mon Jun 09, 2008 10:37 am
by Hagar Delest
Insert a Frame (menu Insert>Frame), in the Type tab, in the Size area top left, check the Automatic option for Width.
Thanks to add '[Solved]' at beginning of your first post title (edit button) if your issue has been fixed.
Re: [Solved] Text Box that can grow?
Posted: Fri May 25, 2012 3:26 pm
by tomaszs
I've followed the advice of Hagar. When i input manually text into the Frame it's automatically resized.
I've put into the Frame text box binded to the Base source. But now Frame is not adjusting size to the multiline text in the Text Box.
Is there any way to do this work or to bind Frame to Base source?
Re: [Solved] Text Box that can grow?
Posted: Fri May 25, 2012 3:43 pm
by Villeroy
Re: [Solved] Text Box that can grow?
Posted: Fri May 25, 2012 7:49 pm
by tomaszs
thx