>I have several edit boxes on a form. The text in the edit boxes is used in a web page. The word wrap on the web page is not always in the same position as on the screen. If I know where the wrap is in the VFP edit box I can force the HTML to wrap in the proper place.
>
>The user can change the font size and style and the width of the edit box as desired.
>
>How can I find where the wrap positions are? I tried memlines() on the edit box value and text but it just returns 1.
>Thanks.
John,
Check if this blog
http://berezniker.com/content/pages/visual-foxpro/simple-line-wrap-message-box can be of help.
If it's not broken, fix it until it is.
My Blog