>>I need to have an edit box extend vertically if the user enters more text than will fit. The edit box will not have scroll bars. There will be a limit to the size and I can easily handle that part. I'm just not sure of the best way to handle the auto sizing. Is there some event that gets triggered when the text goes below the box? I thought of using memlines() but is there an easier way?
>>TIA
>
>I think you're on the right track with MEMLINES() combined with FontMetric() and the Height of the editbox to see how many rows you have room for.
>
>Tamar
Tamar,
I'm not sure just how many of your books I have and sessions of yours that I have attended. I am sure if you don't know of a better way than MEMLINES() then that is most likely the answer.
Thanks for the help.
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn