Set Max hight at Runtime: TextField

Avatar

Avatar

_SekharN_

Avatar

_SekharN_

_SekharN_

01-06-2006

I have TextField that is set to accept Multi Line and No Limit Length or Max Chars. And on the layout pane it's height is set to 0.5in and also have "Expand to Fit" checked.

At runtime this field accepts unlimited data to an extent the TextField can not be able to fit in one Page.

I want to restrict users to not to add data based on the final height of the TextField but not on the number of characters. For example when the form first loaded the TextField will show a height equals to two lines. But want to restrict height can not go more than 10 lines no matter how many characters they type in.

Any help is appreciated.



Thanks,

SekharN