Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to know where the wrap is in an edit box
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP1
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01440946
Message ID:
01440947
Views:
56
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform