I agree that his solution is not the preferred one, but since he wrote that he had his reasons, I gave him the solution he wanted. But will it suit his needs? Probably not. :-)
>I think what Tariq meant was to support a text with word wrapping. AFAIK textbox doesn't support wrapping.
>PS: Maybe I was wrong and what he wants is simply to increase width.
>Cetin
>
>>Yes, that will do, I guess.
>>>Hi Tore,
>>>
>>>>In the keypress, put someting like this:>>>>do case
>>>> case len(trim(this.value))>50
>>>> this.height=48
>>>> case len(trim(this.value))>25
>>>> this.height=32
>>>> otherwise
>>>> this.height=16
>>>>endcase
>>>>>>In this case, I thint that sample below is very interesting:
>>>
>>>this.height = ((Int(len(trim(this.value))) / 26) + 1) * 16
>>>
>>>What do you think?