>I have an editbox in a form, the edit box can hold small amount of text or a large amout of text, this edit box won't have a scroll bar, I need to know how many lines of text are showing be in the text box in order to programaticly resize the height of the box to hold exacty that amount rows.
>Any tips?
It's a lot of work. You'll need to look at SET MEMOWIDTH which is based on the DOS 80 column fixed font text. Then you need to compensate with SYSMETRIC and FONT() to get the right adjustments.
Why not use vertical and horizontal scroll bars and make the form sizable so the user can grow/shrink the editbox for large/small memos?
-TomC