How to "Expand to Fit" in script

Avatar

16-07-2008

I want a text field to have scroll bars while editing, and want it to expand to fit content (even flow to next pages) when it is printed.

Haven't been able to figure out how to do so.

Any Help?



Many Thanks.

Replies

Avatar

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile
pguerett
Level 10

16-07-2008

The subform and the form must be set to flowed and dynamic render. On the Layout palette make sure that the Expand to Fit checkbox is checked under the Y: coordinates.



There is a sample that shows this in the Designer install directory. Look under install dir/EN/Samples/Forms/Purchase Order/Dynamic Interactive/Forms/Purchase Order.pdf



The comments field does exactly what you ask.

Avatar

16-07-2008

Thanks Paul!



It shows the scrollbars while editing, but as soon as we tab out of the textfield, it expands the textfield already. Doesn't wait for printing time. Any chance of keeping it in scrollbars up until we actually print it?



If not possible, then I guess this behavior will have to do.

Thanks again.

Avatar

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile
pguerett
Level 10

16-07-2008

No not possible